A bot to interact with the global verification API to verify users in University of Southampton related discord servers.
- Invite the bot
- Run /setup specifying your verified role (you can learn more about creating a verified role here)
- Enjoy easy verification of your members!
With this service users can verify themselves once on the website and then never have to verify again! We store who is verified and who isn't in our database and then whenever you run /verify or join a server we will give you that server's verified role!
Verifies you or tells you how to verify.
Will batch verify everyone on the server. Admin only
Sets up the bot. Admin only
Make sure you have rust installed. You can check this with cargo -V
Clone the project
git clone https://github.com/ecss-soton/verify-bot.git
Go to the project directory
cd verify-bot
Configure the environment variables. See Environment Variables
Start the bot
cargo run --release
Create a .env file at the project root and fill it with the following variables
A list of these can also be seen in .env.example
DISCORD_TOKEN="Your Discord Token"
# This is only necessary if you want to only update the guild commands and not the global ones.
TEST_GUILD_ID="Guild Id"
# Contact the ECSS web officer to get access to an API Key
API_KEY="The API key for the Soton verify service"
API_URL="The URL to that API"
DISPLAY_URL="The URL to display to users for verification"
TODO Add docker image link with dockerfile