Skip to content

Discord bot to quarantine users who post tokens, and invalidate those tokens

License

Notifications You must be signed in to change notification settings

jack-webb/the-tokenator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Tokenator

Quarantine users who post tokens, and invalidate those tokens by posting them to a public GitHub gist. Based on code from Rapptz/RoboDanny.

Requirements and setup

Requires Python 3.8 and Poetry

  1. Install dependencies with poetry install
  2. Create and populate a .env file
  3. Run with poetry run python -m main

Environment variables

All variables are required.

  • DISCORD_TOKEN - Your Discord bot's token
  • GITHUB_TOKEN - Your GitHub Personal Access Token
  • QUARANTINE_ROLE_ID - The role to apply to users posting tokens
  • ALERT_CHANNEL_ID - The channel to post alerts to

About

Discord bot to quarantine users who post tokens, and invalidate those tokens

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages