/pesu-auth-bot

A simple bot to authenticate users in any server using their PESU credentials.

Primary LanguagePython

PESU-Auth-Bot

A simple bot to authenticate users in any server using their PESU credentials.

Usage

  1. Invite the bot to your server using this link.
  2. Use the /mod setup command to assign an existing server role to verified users.
  3. Certain channel's access can be restricted to only the verified PESU users using the same role.
  4. The users can verify themselves using the /auth command anytime once the setup is done.

Run/Deploy the bot yourself

  1. Clone the repository
  2. Install the dependencies using pip install -r requirements.txt
  3. 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/'
  4. Run the bot using the bot.py file

Made with ❤️ by Space-Gamer and Aditeya Baral