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

🗿failsafe test complete

This commit is contained in:
toast-ts 2022-12-30 09:05:47 +11:00
parent bfe14e0ee5
commit 1cef960424
2 changed files with 1 additions and 10 deletions

View File

@ -121,15 +121,6 @@ export default {
if (message.mentions.members.has('215497515934416896') && !client.isStaff(message.member) && message.type != 19){
message.reply('Please don\'t tag Monster unless it\'s important!')
}
if (message.content.toLowerCase().startsWith(`*mp players`) || message.content.toLowerCase().startsWith(`*mp status`)){
message.reply('Prefix-based MP commands has moved to </mp players:1058125073975869572> and </mp status:1058125073975869572>')
}
if (message.content.toLowerCase().startsWith(`*lrs`) || message.content.toLowerCase().startsWith(`*rank`)){
message.reply('Prefix-based LRS command has moved to </rank view:1058125073975869576>')
}
if (message.content.toLowerCase().startsWith(`*mp series`) || message.content.toLowerCase().startsWith(`*mp info`)){
message.reply('Prefix-based MP info commands has moved to </mp series:1058125073975869572> and </mp info:1058125073975869572>')
}
if (PasswordArray.some(e=>message.content.toLowerCase().includes(e))){
message.reply('Password and other details can be found in <#543494084363288637>')
}

View File

@ -164,6 +164,6 @@ setInterval(async()=>{
dailyMsgs.push([formattedDate, total]);
fs.writeFileSync(__dirname + '/database/dailyMsgs.json', JSON.stringify(dailyMsgs))
console.log(`[${client.moment().format('DD/MM/YY HH:mm:ss')}]`, `Pushed [${formattedDate}, ${total}] to dailyMsgs`);
(client.channels.resolve(client.config.mainServer.channels.logs) as Discord.TextChannel).send(`:pencil: Pushed \`[${formattedDate}, ${total}]\` to </rank leaderboard:1058125073975869576>`)
client.application.commands.fetch().then((commands)=>(client.channels.resolve(client.config.mainServer.channels.logs) as Discord.TextChannel).send(`:pencil: Pushed \`[${formattedDate}, ${total}]\` to </rank leaderboard:${commands.find(x=>x.name == 'rank').id}>`))
}
}, 5000)