A simple bot to authenticate users in any server using their PESU credentials.
- Invite the bot to your server using this link.
- Use the
/mod setup
command to assign an existing server role to verified users. - Certain channel's access can be restricted to only the verified PESU users using the same role.
- The users can verify themselves using the
/auth
command anytime once the setup is done.
- Clone the repository
- Install the dependencies using
pip install -r requirements.txt
- Create a
config.yml
file in the root directory of the project and add the following:bot: token: 'your-bot-token' developer_user_ids: - <discord_developer_id_1> - <discord_developer_id_2> developer_guild_ids: - <discord_developer_guild_id_1> - <discord_developer_guild_id_2> developer_channel_ids: - <discord_developer_channel_id_1> - <discord_developer_channel_id_2> prefix: 'bot-prefix' db: 'path/to/mongo_database/file.db' # if local host - 'mongodb://localhost:27017/'
- Run the bot using the
bot.py
file
Made with ❤️ by Space-Gamer and Aditeya Baral