Created
June 7, 2018 15:10
-
-
Save cchudant/a5d374597dd5002ba6673e75d8478254 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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