Skip to main content

A simple verification bot for discord

Single-guild discord-bot to give roles to a member accepting your servers rules.
Also sending a neat little welcome message to the user.

The bot also runs a task all five minutes to ensure that no member is missed due to potential downtime or other errors.
It's possible to ignore members that joined before a specific date if the system shall not apply to older members.

setup

pip install -r requirements.txt
export TOKEN="your-key"
python3 main.py

env variables

parameter description
export ROLES="760434164146634752 880220270210740235" Roles to give after verification, separated by a space
export GUILD="760421261649248296" Guild the bot shall be set up for
export START_CHANNEL="877208002762002465" Channel the bot mentions in welcome message
export PREFIX="b!" Command prefix
export CHECK_PERIOD="5" Time between two checks for missed members
export NOT_BEFORE="25.08.2021" Members joined before that date won't be captured by verification check task
export VERSION="unknown" Version the bot is running
export OWNER_NAME="unknwon" Name of the bot owner
export OWNER_ID="100000000000000000" ID of the bot owner

Values GUILD, START_CHANNEL and ROLES need to be changed in order to make the bot run on your server! Those default is only usable for our own discord.
The shown values are the default values that will be loaded if nothing else is specified.
Please note that the welcome message is in german, you can update it in src/verification_listsner.py/ get_welcome_text().

Release files for discord-verification-listener 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for discord-verification-listener 1.0.1
File Interpreter ABI Platform
discord_verification_listener-1.0.1-py3-none-any.whl Python 3 none any Details

Release files / discord_verification_listener-1.0.1-py3-none-any.whl

Download URL discord_verification_listener-1.0.1-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba0b32614463312214c673d449e8f0e25d505daf0a38d3fc3597366f3bea2228
BLAKE2b-256 checksum
How to use checksums
c499609fa9f76a21f363276ac765b947f813d260ec74823173080e6c03f33cf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.9

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page