Remove ban and kick tag

This commit is contained in:
Supositware 2023-04-04 17:51:36 +00:00
parent 2f4caf0e72
commit c0fad4c460
2 changed files with 6 additions and 3 deletions

View file

@ -66,13 +66,16 @@ export default {
if (tag) {
db.Tag.findOne({ where: { trigger: message.content.toLowerCase(), serverID: message.guild.id } });
let text = tag.get('response');
/*
if (text.includes('[ban]')) {
message.member.ban('Tag ban :^)');
}
else if (text.includes('[kick]')) {
message.member.kick('Tag kick :^)');
}
else if (text.includes('[delete]')) {
else
*/
if (text.includes('[delete]')) {
message.delete();
}

View file

@ -46,11 +46,11 @@ export function rand(text, interaction) {
},
{
name: /\[kick\]/,
value: '',
value: '[This used to kick you but no more!]',
},
{
name: /\[ban\]/,
value: '',
value: '[This used to ban you but no more!]',
},
{
name: /\[delete\]/,