3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 10:25:01 +00:00

Added bot status

This commit is contained in:
srqc 2022-11-25 10:55:10 -05:00 committed by GitHub
parent f6240afa05
commit 57de085b53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -349,7 +349,11 @@ connect().then(async () => {
client.on(Constants.Events.RATE_LIMIT, (data) => {
logRateLimit(data);
});
client.user?.setPresence({
activities: [{ name: "rule breakers", type: "WATCHING" }],
});
bot.on("loadingFinished", async () => {
runExpiringMutesLoop();
await sleep(10 * SECONDS);