1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 08:20:59 -04: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}>!`],
}
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');