https://github.com/TomatoArchive/2FA-Bot
A Discord bot used to verify members using multifactor authentication
https://github.com/TomatoArchive/2FA-Bot
2fa bot discord mfa
Last synced: 12 months ago
JSON representation
A Discord bot used to verify members using multifactor authentication
- Host: GitHub
- URL: https://github.com/TomatoArchive/2FA-Bot
- Owner: TomatoArchive
- License: gpl-2.0
- Created: 2022-10-03T11:09:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T22:49:58.000Z (over 1 year ago)
- Last Synced: 2025-04-05T17:11:11.233Z (about 1 year ago)
- Topics: 2fa, bot, discord, mfa
- Language: JavaScript
- Homepage:
- Size: 123 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2FA-Bot
This Discord bot can be used to verify server members using two/multifactor authentification, and giving roles after verifying successfully.
Can be used to temporary or permanently grant access to additional permissions.
## How to use
1. Download files and install packages using a package manager, e.g. by running `npm i`
2. Replace `` in the index.js file with your bots token
3. Start the bot using `node index.js`. The slash commands are created automatically.
- Done!
The bot will automatically check every 3 minutes (configurable cronjob) if any of the verification roles need to be removed from a user.
## Support server
[](https://discord.gg/ZqzFUC8qe9)
## Settings
`/auth code:`
Main command used to verify
`/setup`
Setup 2fa with the bot
`/config roleadd|roleremove|list`
Add, manage or remove verification roles
`/help`
General help command