Removed KFE.
This commit is contained in:
parent
205859b52e
commit
e66554b314
1 changed files with 0 additions and 20 deletions
|
@ -437,26 +437,6 @@ const MamiInit = async args => {
|
|||
condition: entry => Umi.User.getCurrentUser()?.id === entry.id && Umi.User.getCurrentUser().perms.canKick,
|
||||
onclick: entry => { Umi.Server.sendMessage('/bans'); },
|
||||
});
|
||||
sbUsers.addOption({
|
||||
name: 'kfe',
|
||||
text: 'Kick Fucking Everyone',
|
||||
condition: entry => Umi.User.getCurrentUser()?.id === entry.id && Umi.User.getCurrentUser().perms.canKick,
|
||||
onclick: async entry => {
|
||||
try {
|
||||
await ctx.msgbox.show({
|
||||
body: ['You are about to detonate the fucking bomb.', 'Are you sure?'],
|
||||
yes: { text: 'FUCK IT, WE BALL' },
|
||||
no: { text: 'nah' },
|
||||
});
|
||||
|
||||
const names = sbUsers.getAllUserNames();
|
||||
for(const name of names)
|
||||
if(Umi.User.getCurrentUser()?.name !== name)
|
||||
// this shouldn't call it like this but will have to leave it for now
|
||||
Umi.Server.sendMessage(`/kick ${name}`);
|
||||
} catch(ex) {}
|
||||
},
|
||||
});
|
||||
sbUsers.addOption({
|
||||
name: 'dm',
|
||||
text: 'Send direct message',
|
||||
|
|
Loading…
Reference in a new issue