Changed startup message to ping me

This commit is contained in:
Skylar Grant 2023-01-26 21:31:02 -05:00
parent 74b65a1978
commit 112c671435

View File

@ -30,9 +30,11 @@ client.once('ready', () => {
fn.collections.slashCommands(client);
console.log('Ready!');
client.user.setActivity({ name: strings.activity.name, type: ActivityType.Watching });
if (isDev == 'false') {
client.channels.fetch(statusChannelId).then(channel => {
channel.send(`${new Date().toISOString()} -- \nStartup Sequence Complete`);
channel.send(`${new Date().toISOString()} -- \nStartup Sequence Complete <@481933290912350209>`);
});
}
});
// slash-commands