mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Last commit for this year :whatnow:
This commit is contained in:
parent
462cf8b320
commit
8ffb0072a5
@ -9,7 +9,7 @@ import {Punishment, UserLevels, FSData, FSCareerSavegame} from './typings/interf
|
|||||||
client.on('ready', async()=>{
|
client.on('ready', async()=>{
|
||||||
client.guilds.cache.forEach(async(e)=>{await e.members.fetch()});
|
client.guilds.cache.forEach(async(e)=>{await e.members.fetch()});
|
||||||
setInterval(async()=>{
|
setInterval(async()=>{
|
||||||
client.user.setPresence({activities: [{ name: 'Slash commands!', type: 1, url: 'https://www.youtube.com/watch?v=GtL1huin9EE' }], status: 'online'});
|
client.user.setPresence({activities: [{ name: 'Happy new year!', type: 1, url: 'https://www.youtube.com/watch?v=KY1N-ZYe8xA' }], status: 'online'});
|
||||||
// Playing: 0, Streaming (Requires YT/Twitch URL to work): 1, Listening to: 2, Watching: 3, Competing in: 5
|
// Playing: 0, Streaming (Requires YT/Twitch URL to work): 1, Listening to: 2, Watching: 3, Competing in: 5
|
||||||
}, 60000);
|
}, 60000);
|
||||||
if (client.config.botSwitches.registerCommands) client.application.commands.set(client.registry).catch((e)=>{console.log(`Couldn't register slash commands: ${e}`)})
|
if (client.config.botSwitches.registerCommands) client.application.commands.set(client.registry).catch((e)=>{console.log(`Couldn't register slash commands: ${e}`)})
|
||||||
|
Loading…
Reference in New Issue
Block a user