diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-15 17:10:51 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-15 17:10:51 +0200 |
| commit | 4bd55e56b17a3b59b5a291b1bef66c74e3c6c608 (patch) | |
| tree | f32ce46b0b87a58fdfb0104df06d8c6773390774 /bot.js | |
| parent | 795126408fc717a11d832f412470597377d71449 (diff) | |
| download | discordbot-4bd55e56b17a3b59b5a291b1bef66c74e3c6c608.tar.gz discordbot-4bd55e56b17a3b59b5a291b1bef66c74e3c6c608.zip | |
remove my token
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ const sqlite = require("sqlite"), commandPrefix: "?" }); -const DISCORDTOKEN = process.env.DISCORDTOKEN || "Mjg5ODM2OTAwOTg5MDA5OTIw.C6SLKA.j8UETpPHztDV45xicf11hwpwNK8"; +const DISCORD_TOKEN = process.env.DISCORD_TOKEN; client .on("error", console.error) @@ -66,7 +66,7 @@ client.registry .registerCommandsIn(path.join(__dirname, 'commands')); -client.login(DISCORDTOKEN); +client.login(DISCORD_TOKEN); process.on("unhandledRejection", err => { console.error("Uncaught Promise Error: \n" + err.stack); |
