This is a Discord bot designed to enhance your Discord server's functionality and provide additional features for a better user experience. The bot is built using Discord.js, a powerful library that allows easy interaction with the Discord API.
To use this bot, follow these steps:
- Clone the repository:
git clone https://github.com/ShellTux/dexibot.git
- Install dependencies:
npm install
andnpm install --save-dev
npm install
npm install --save-dev
npm install --save-dev @types/node
- Install youtube-dl: for searching videos on youtube
You can install through your package manager, or make sure you have the executable in your PATH
Distro |
Command |
---|---|
Ubuntu/Debian |
sudo apt-get install youtube-dl |
Fedora |
sudo dnf install youtube-dl |
Arch Linux |
sudo pacman -Syu youtube-dl |
- Create a
.env
file with the following content:
DISCORD_TOKEN=bot_token
APPLICATION_ID=application_id
GUILD_ID=guild_id
PREFIX="*"
The bot token
and the application id
can be found at the discord developer portal.
- Compile the project and run the bot:
npm run build
npm run start
Note: Make sure you have Node.js installed on your system before proceeding with the installation.
The bot requires some configuration values to be set in the .env
file. Open the .env
file and update the following values:
APPLICATION_ID
: Your Discord Application Id, obtained on the Discord Developer Portal.DISCORD_TOKEN
: Your Discord bot token. You can obtain this by creating a new bot application on the Discord Developer Portal.PREFIX
: The command prefix to use for invoking the bot's commands. (Ex.: "*")GUILD_ID
: Theserver
/guild
id to deploy theslash (/) commands
.
Once the bot is running and connected to your Discord server, you can use the following commands:
/command1 <parameter>
: Description of what the command does./command2 <parameter>
: Description of another command./command3
: Description of a command without parameters.
Feel free to modify or extend the bot's commands to suit your needs. You can find the available commands in the commands/
directory.
- Help page
help
- Pagination
- Ping/Latency
ping
- Show information about the guild
server
- Show information about the user
user
- Audio
- Join Voice Channel
join
- Leave Voice Channel
leave
- Play song
play
- Pause
- Resume
- Queue
- Show Queue
- Shuffle
- Skip
- Now playing
- Play time
- Join Voice Channel
- Miscellaneous
This project is licensed under the MIT License. Feel free to modify and distribute the code as per the terms of the license.
Thank you for using our Discord bot! We hope it enhances your Discord server experience.