An installable Discord interactions tool that allows us to be able to more easily interact with accounts and ScamGuard.
This Discord interaction contains:
/lookup- for looking up an user via a command in a DM. This command can be disabled via the environment settings./help- prints out a very nice help screen- User Application Interaction - for looking up the user while looking at their profile
- Message Application Interaction - for forwarding/reporting scammers easily as well as looking them up
- Helper functions for managing the tool that can be installed for a guild.
The end goal is to make everything work easier for users.
You can forward messages directly to ScamGuard reporting + look up accounts all within the Discord UI.
To install the instance ran by TAG, you must:
- Join the server.
- Find the
ScamGuard User Toolaccount - Open the profile card
- Click
+ Add App
While this app is in beta, we're holding back from a general access installation. These install steps will likely get easier over time.
This requires the following protected secrets to be added to the worker environment.
These can all be gotten from your Discord developer application dashboard.
DISCORD_APP_ID- Public Application IDDISCORD_PUBLIC_KEY- Application Public KeyDISCORD_BOT_TOKEN- Bot Token (gotten from the bot page)
SUPPORT_THREAD- The link to the support channel of the given Discord serverCONTROL_GUILD- The guild ID for adding the moderation commands to
All other configurations can be handled by the wrangler.toml file.
Once configured, run npm run sync to sync the commands with the Discord platform.
