forked from Supositware/Haha-Yes
Remove ban and kick tag
This commit is contained in:
parent
2f4caf0e72
commit
c0fad4c460
2 changed files with 6 additions and 3 deletions
|
@ -66,13 +66,16 @@ export default {
|
||||||
if (tag) {
|
if (tag) {
|
||||||
db.Tag.findOne({ where: { trigger: message.content.toLowerCase(), serverID: message.guild.id } });
|
db.Tag.findOne({ where: { trigger: message.content.toLowerCase(), serverID: message.guild.id } });
|
||||||
let text = tag.get('response');
|
let text = tag.get('response');
|
||||||
|
/*
|
||||||
if (text.includes('[ban]')) {
|
if (text.includes('[ban]')) {
|
||||||
message.member.ban('Tag ban :^)');
|
message.member.ban('Tag ban :^)');
|
||||||
}
|
}
|
||||||
else if (text.includes('[kick]')) {
|
else if (text.includes('[kick]')) {
|
||||||
message.member.kick('Tag kick :^)');
|
message.member.kick('Tag kick :^)');
|
||||||
}
|
}
|
||||||
else if (text.includes('[delete]')) {
|
else
|
||||||
|
*/
|
||||||
|
if (text.includes('[delete]')) {
|
||||||
message.delete();
|
message.delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,11 +46,11 @@ export function rand(text, interaction) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: /\[kick\]/,
|
name: /\[kick\]/,
|
||||||
value: '',
|
value: '[This used to kick you but no more!]',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: /\[ban\]/,
|
name: /\[ban\]/,
|
||||||
value: '',
|
value: '[This used to ban you but no more!]',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: /\[delete\]/,
|
name: /\[delete\]/,
|
||||||
|
|
Loading…
Reference in a new issue