1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-27 04:15:38 -05:00

Proper channel name

This commit is contained in:
toast-ts 2023-12-31 18:12:44 +11:00
parent e4aacd8dcb
commit 6a1700bcd2

View File

@ -44,7 +44,7 @@ setInterval(async()=>{
await client.dailyMsgs.newDay(formattedDate, total);
Logger.console('log', 'DailyMsgs', `Pushed [${formattedDate}, ${total}]`)
// Send notification to #bot-logs that the data has been pushed to database.
// Send notification to #bot-log that the data has been pushed to database.
const commands = await client.guilds.cache.get(client.config.dcServer.id)?.commands.fetch();
if (commands) (client.channels.resolve(client.config.dcServer.channels.logs) as Discord.TextChannel).send({embeds: [
new client.embed().setDescription(`Pushed the following\ndata to </rank leaderboard:${commands.find(x=>x.name === 'rank').id}>`).setFields(