Basic Admin Essentials, abuse system

Hi, I am hoping someone can point me in the right direction,

I’m looking to make an abuse system with basic admin essentials. If someone with admin level 1, 2, and 3 uses all, others, and admins in any command, it sends a message to a Discord channel via a webhook stating the command, the person’s username, and pinging a role.

Any support would be appreciated !

2 Likes

What exactly do you want to do? As for the webhook, you have to use the HTTPService with the appropriate payload,

{
  "content": "<@&roleId>",
  "embeds": [
    {
      "title": "Username used a command!",
      "description": "Username used the command `command`, \n<@&roleId>",
      "color": 30646 
    }
  ]
}

The only way you’d be able to do this is if “basic admin essentials” lets you trigger code when a command is executed; it probably doesn’t as I don’t think most do, why don’t you try making a custom admin script and then you can do whatever you want with it?

you need to use a proxy for discord which usually requires a paid server

or you could send requests to guilded

Hey , so I just need it to be so it only sends the message when someone uses all, others & admins in any commands.

Such as

:kick all

Then it would send a message to the channel.