diff options
author | Minteck <contact@minteck.org> | 2022-01-09 18:22:55 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-01-09 18:22:55 +0100 |
commit | 7d0d6272c8bf5260da53210c8ed327980e396397 (patch) | |
tree | 6812176231961767e9b7aa731193abb387bbc107 /bot.js | |
parent | dc65563df84d80bcc0970febef6a5f9a7759bdcb (diff) | |
download | ponyfind-7d0d6272c8bf5260da53210c8ed327980e396397.tar.gz ponyfind-7d0d6272c8bf5260da53210c8ed327980e396397.tar.bz2 ponyfind-7d0d6272c8bf5260da53210c8ed327980e396397.zip |
Update
Diffstat (limited to 'bot.js')
-rw-r--r-- | bot.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ const errorHandler = require('./handler/errors'); global.langs = JSON.parse(fs.readFileSync("./user/userdata.json")); global.spoils = JSON.parse(fs.readFileSync("./user/spoilers.json")); global.servers = JSON.parse(fs.readFileSync("./user/servers.json")); +global.cooldowns = {}; global.l = (en, fr, id, gid) => { if (typeof servers[gid] !== "undefined") { @@ -45,6 +46,7 @@ global.l = (en, fr, id, gid) => { const commands = require('./modules/registers'); client.on('ready', async () => { + client.user.setActivity("/help", { type: "LISTENING" }) console.log(`Logged in as ${client.user.tag}!`); console.log("Started refreshing application (/) commands globally"); |