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:
parent
e4aacd8dcb
commit
6a1700bcd2
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user