diff options
| author | Sin-MacBook <[email protected]> | 2020-08-10 23:44:20 +0200 |
|---|---|---|
| committer | Sin-MacBook <[email protected]> | 2020-08-10 23:44:20 +0200 |
| commit | 2a53887abba882bf7b63aeda8dfa55fdb3ab8792 (patch) | |
| tree | ad7a95eb41faa6ff13c3142285cdc0eb3ca92183 /src/bot.js | |
| download | modmail-2a53887abba882bf7b63aeda8dfa55fdb3ab8792.tar.xz modmail-2a53887abba882bf7b63aeda8dfa55fdb3ab8792.zip | |
clean this up when home
Diffstat (limited to 'src/bot.js')
| -rw-r--r-- | src/bot.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bot.js b/src/bot.js new file mode 100644 index 0000000..2a1591a --- /dev/null +++ b/src/bot.js @@ -0,0 +1,9 @@ +const Eris = require('eris'); +const config = require('./config'); + +const bot = new Eris.Client(config.token, { + getAllUsers: true, + restMode: true, +}); + +module.exports = bot; |