Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 481 Bytes

File metadata and controls

22 lines (15 loc) · 481 Bytes

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.