From e66554b314882b997128d447030c6b1ebd4d223c Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 1 Jan 2025 14:25:31 +0000 Subject: [PATCH] Removed KFE. --- src/mami.js/main.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/mami.js/main.js b/src/mami.js/main.js index d839248..5afbb56 100644 --- a/src/mami.js/main.js +++ b/src/mami.js/main.js @@ -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',