import { Message } from "discord.js" ; import { command , default as CookiecordClient , Module } from "../src" ; class PingModule extends Module { constructor ( client ) { super ( client ) ; } @ command ( ) ping ( msg ) { msg . reply ( "Pong. :ping_pong:" ) ; } } new CookiecordClient ( ) . registerModule ( PingModule ) . login ( process . env . TOKEN ) ;