mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 04:10:59 -05:00
I hope this works, it's hard to test.
This commit is contained in:
parent
c0f77abc1a
commit
2de723d728
@ -46,6 +46,9 @@ export default {
|
|||||||
theyBrokeIt: ['break', 'broke', 'broken'],
|
theyBrokeIt: ['break', 'broke', 'broken'],
|
||||||
deadChat: ['dead chat', 'chat is dead', 'dead server', 'inactive chat', 'inactive channel']
|
deadChat: ['dead chat', 'chat is dead', 'dead server', 'inactive chat', 'inactive channel']
|
||||||
}
|
}
|
||||||
|
const outgoingArrays = {
|
||||||
|
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 = '468835415093411863';
|
const GeneralChatID = '468835415093411863';
|
||||||
Response.create(client, message, GeneralChatID, 'morning');
|
Response.create(client, message, GeneralChatID, 'morning');
|
||||||
Response.create(client, message, GeneralChatID, 'afternoon');
|
Response.create(client, message, GeneralChatID, 'afternoon');
|
||||||
@ -56,6 +59,7 @@ export default {
|
|||||||
CmdTrigger.MFPwTrigger(message, '!!_farmpw');
|
CmdTrigger.MFPwTrigger(message, '!!_farmpw');
|
||||||
CmdTrigger.TriggerTest(message, '!!_test-trigger');
|
CmdTrigger.TriggerTest(message, '!!_test-trigger');
|
||||||
|
|
||||||
|
if (message.type === 8 && message.channelId === GeneralChatID) message.reply({content: outgoingArrays.guildBoost[Math.floor(Math.random() * outgoingArrays.guildBoost.length)], allowedMentions: {parse: ['users']}})
|
||||||
if (message.mentions.members.has('309373272594579456') && !client.isStaff(message.member)) message.reply('Please don\'t tag Daggerwin, read rule 14 in <#468846117405196289>');
|
if (message.mentions.members.has('309373272594579456') && !client.isStaff(message.member)) message.reply('Please don\'t tag Daggerwin, read rule 14 in <#468846117405196289>');
|
||||||
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.mentions.members.has('215497515934416896') && !client.isStaff(message.member) && message.type != 19) message.reply('Please don\'t tag Monster unless it\'s important!');
|
||||||
if (incomingArrays.password.some(e=>message.content.toLowerCase().includes(e))) message.reply('Password and other details can be found in <#543494084363288637>');
|
if (incomingArrays.password.some(e=>message.content.toLowerCase().includes(e))) message.reply('Password and other details can be found in <#543494084363288637>');
|
||||||
|
Loading…
Reference in New Issue
Block a user