1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-18 00:31:00 -05:00

Merge Response calls into one.

This commit is contained in:
toast-ts 2024-02-13 16:44:26 +11:00
parent 5cba023ff1
commit a3c623c41a

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}>!`],
}
const GeneralChatID = ConfigHelper.isDevMode() ? '929807948748832801' : '468835415093411863';
Response.create(message, GeneralChatID, 'morning');
Response.create(message, GeneralChatID, 'afternoon');
Response.create(message, GeneralChatID, 'evening');
Response.create(message, GeneralChatID, 'night');
const times_of_day = ['morning', 'afternoon', 'evening', 'night'];
for (let i = 0; i < times_of_day.length; i++) Response.create(message, GeneralChatID, times_of_day[i]);
CmdTrigger.registerCmds(client, message, 'register');
CmdTrigger.MFPwTrigger(message, 'farmpw');