1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 08:20:59 -04:00

replace old command ids with updated ones

This commit is contained in:
toast-ts 2022-12-30 08:05:55 +11:00
parent d7f5f2b984
commit 210ec2074e
2 changed files with 4 additions and 4 deletions

View File

@ -122,13 +122,13 @@ export default {
message.reply('Please don\'t tag Monster unless it\'s important!') message.reply('Please don\'t tag Monster unless it\'s important!')
} }
if (message.content.toLowerCase().startsWith(`*mp players`) || message.content.toLowerCase().startsWith(`*mp status`)){ if (message.content.toLowerCase().startsWith(`*mp players`) || message.content.toLowerCase().startsWith(`*mp status`)){
message.reply('Prefix-based MP commands has moved to </mp players:1046516411591299233> and </mp status:1046516411591299233>') 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`)){ if (message.content.toLowerCase().startsWith(`*lrs`) || message.content.toLowerCase().startsWith(`*rank`)){
message.reply('Prefix-based LRS command has moved to </rank view:1044732701317537877>') 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`)){ 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:1046516411591299233> and </mp info:1046516411591299233>') 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))){ if (PasswordArray.some(e=>message.content.toLowerCase().includes(e))){
message.reply('Password and other details can be found in <#543494084363288637>') message.reply('Password and other details can be found in <#543494084363288637>')

View File

@ -164,6 +164,6 @@ setInterval(async()=>{
dailyMsgs.push([formattedDate, total]); dailyMsgs.push([formattedDate, total]);
fs.writeFileSync(__dirname + '/database/dailyMsgs.json', JSON.stringify(dailyMsgs)) 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`); 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:1046516411591299237>`) (client.channels.resolve(client.config.mainServer.channels.logs) as Discord.TextChannel).send(`:pencil: Pushed \`[${formattedDate}, ${total}]\` to </rank leaderboard:1058125073975869576>`)
} }
}, 5000) }, 5000)