1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 04:10:59 -05:00

Merge Response calls into one.

This commit is contained in:
toast-ts 2024-02-13 16:44:26 +11:00
parent 12eb2b0eb6
commit 7a7a8b1ade

View File

@ -76,10 +76,9 @@ export default class MessageCreate {
guildBoost: ['Thanks for boosting our server!', 'Thanks for the boost!', 'We appreciate the boost!', `Thank you for the kind boost, <@${message.author.id}>!`], guildBoost: ['Thanks for boosting our server!', 'Thanks for the boost!', 'We appreciate the boost!', `Thank you for the kind boost, <@${message.author.id}>!`],
} }
const GeneralChatID = ConfigHelper.isDevMode() ? '929807948748832801' : '468835415093411863'; const GeneralChatID = ConfigHelper.isDevMode() ? '929807948748832801' : '468835415093411863';
Response.create(message, GeneralChatID, 'morning');
Response.create(message, GeneralChatID, 'afternoon'); const times_of_day = ['morning', 'afternoon', 'evening', 'night'];
Response.create(message, GeneralChatID, 'evening'); for (let i = 0; i < times_of_day.length; i++) Response.create(message, GeneralChatID, times_of_day[i]);
Response.create(message, GeneralChatID, 'night');
CmdTrigger.registerCmds(client, message, 'register'); CmdTrigger.registerCmds(client, message, 'register');
CmdTrigger.MFPwTrigger(message, 'farmpw'); CmdTrigger.MFPwTrigger(message, 'farmpw');