Skip to content

SelfMadeSystem/MyDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyDiscordBot

A simple Discord bot written in TypeScript.

Getting Started

npm install installs the dependencies.

npm start starts the bot.

Before starting the bot, make a localconfig.json file in the src directory with the following contents:

{
    "token": "YOUR_TOKEN_HERE",
    "guildId": "YOUR_GUILD_ID_HERE",
    "clientId": "BOT_ID_HERE",
    "publicKey": "YOUR_PUBLIC_KEY_HERE",
}

Run npm run depcmd to deploy the bot's commands to the server.