Removed KFE.

This commit is contained in:
flash 2025-01-01 14:25:31 +00:00
parent 205859b52e
commit e66554b314

View file

@ -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',