This is a simple typescript discord bot, we use discord.js and discord-player dependencies here is the guide for discord.js discordjs.guide and here for discord-player discord-player.guide
- Your discord bot token
- Node.js 16.11.0 or newer
- npm
git clone https://github.com/xDCBot/discord-bot-ts.git
cd discord-bot-ts
npm i
After downloading the repository and installing the dependencies, in the terminal type npm run dev
Copy or Rename .example.env
to .env
and put your token and guild_id
The .env
file gonna look like this
TOKEN="Your discord bot token"
GUILD_ID="Your guild_id"