Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 1 KB

README.md

File metadata and controls

23 lines (15 loc) · 1 KB

Keep that role pls

This is a troll Discord bot with the only specific purpose of making sure that a role stays on one specific user.

Setup

Dependencies are discord.py and discord-py-slash-command.

pip install -U discord.py
pip install -U discord-py-slash-command

This bot needs the Server Members Intent to be enabled. It also uses Discord slash commands. And it will obviously require the permission to manage roles on the Discord server.

Create your config.json based on config-example.json and fill in the details.

Invite the bot on your server of choice with that invite link for example: https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE&permissions=2617557056&scope=bot%20applications.commands

Start the bot with python main.py or whatever.