A discord bot coded in python with random features. Made by: Antonio32A
- Gives offline or invisible people a role and removes the role when they go online.
- Gives people which have a role 1 another role 2 when they start typing and then removes the role 2 after 10 seconds.
- Download the ZIP file and extract it.
- Open CMD and navigate to the extracted files using
cd path/to/extracted/files
- Install the latest version of python here.
- Install the modules by executing this command in the CMD:
py -3 -m pip install -r requirements.txt
- Edit the config in
example_data.json
and then rename the file todata.json
. - Start the bot by executing this command in the CMD:
py main.py
- Clone the repository (
git clone https://github.com/Antonio32A/Disconnected.git
) or download the ZIP file and extract it. - Navigate to the files using
cd path/to/extracted/files
- Install the latest version of python by executing these commands in the terminal:
sudo apt-get update sudo apt-get install python3
- Install the modules by executing this command in the terminal:
python3 -m pip install -r requirements.txt
- Edit the config in
example_data.json
and then rename the file todata.json
. - Start the bot by executing this command in the terminal:
python3 main.py
token
- Discord bot token.invisible_role_id
- ID of the role which is given when the member goes offline/invisible and taken when the member goes online.guild_id
- ID of the server where the bot gives or takes roles.typing_role_id
- ID of the role which is given when the user has thetyper_role
.typer_role_id
- ID of the role which allows a user to get thetyping_role
when they start typing.