SocksTheWolf / AntiScamBot

A Discord bot that shares ban lists of scammers across multiple Discord servers
https://scamguard.app/
MIT License
6 stars 3 forks source link

Add confirmation on ban action #30

Closed SocksTheWolf closed 11 months ago

SocksTheWolf commented 11 months ago

Summary: When the destructive action is attempted to be performed, show the calling user a ui model (discord.ui.View) that gives the option to ban.

When it should run:

What information should it show:

Actions that can be performed:

Note: to avoid race conditions, we should make sure that we check if the user is already banned in the database before the ban operation is performed. This action is already done asynchronously, so this addition to the code could introduce a new issue.

SocksTheWolf commented 11 months ago

Updated ticket with more information. Debating if this is a help wanted or good first issue task.

Also debating the necessity of having this on the first release out of early access. I don't know if Discord is going to ask for something like this.