Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iliyabadri/discord-self-role
A simple discord bot that manages self assignable roles in your server.
https://github.com/iliyabadri/discord-self-role
Last synced: 3 days ago
JSON representation
A simple discord bot that manages self assignable roles in your server.
- Host: GitHub
- URL: https://github.com/iliyabadri/discord-self-role
- Owner: IliyaBadri
- License: mit
- Created: 2023-11-20T16:54:42.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-29T18:28:30.000Z (6 months ago)
- Last Synced: 2024-05-30T21:08:26.790Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord Self-Role Bot
A simple Discord bot for managing and applying self-assignable roles.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/IliyaBadri/Discord-self-role
cd Discord-self-role
```2. Install dependencies using npm:
```bash
npm install
```This will install the required dependencies listed in `package.json` and generate `package-lock.json`.
## Configuration
Edit the following content to the `config.json` file:
```json
{
"token": "your-discord-bot-token-here",
"clientId": "your-client-id-here"
}
```Replace `"your-discord-bot-token-here"` and `"your-client-id-here"` with your actual Discord bot token and client ID.
## Running the Bot
Run the bot using the following command:
```bash
node .
```This will start the bot, and it will be ready to respond to commands in your Discord server.
## Usage
1. Invite the bot to your Discord server using the following link:
```
https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&scope=bot&permissions=BOT_PERMISSIONS
```Replace `YOUR_CLIENT_ID` with your bot's client ID, and `BOT_PERMISSIONS` with the necessary permissions (Administrator is recommended).
2. Set up roles that users can assign to themselves. Users can use (`/role`) and (`remove-role`) commands to assign and remove roles to themselves.
3. You can also customize anything you want from this open-source discord bot.
## Support
If you encounter any issues or have questions, feel free to open an issue on the [GitHub repository](https://github.com/IliyaBadri/Discord-self-role/issues).