Skip to content

Instantly share code, notes, and snippets.

@cchudant
Created June 7, 2018 15:10
Show Gist options
  • Save cchudant/a5d374597dd5002ba6673e75d8478254 to your computer and use it in GitHub Desktop.
Save cchudant/a5d374597dd5002ba6673e75d8478254 to your computer and use it in GitHub Desktop.
import Migi, { command, on, react } from '@popcorn.moe/migi'
import EPenser from '@epenserdiscord/epenser-migi-module'
import Help from '@shiro/help'
import Meme from '@shiro/meme'
const migi = new Migi({
root: __dirname
})
migi.loadModule(EPenser)
//load some other modules
migi.loadModule(Help)
migi.loadModule(Meme) //rtfgd
migi.on('ready', () => console.log(`Ready @${migi.user.tag}`))
migi.login(process.env.DISCORD_TOKEN)
process.on('unhandledRejection', e => console.error(e))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment