An open API service indexing awesome lists of open source software.

https://github.com/selfmadesystem/mydiscordbot

A simple Discord bot written in TypeScript.
https://github.com/selfmadesystem/mydiscordbot

discord discord-bot discord-js discord-js-bot discordjs discordjs-bot discordjsbot type typescript typescript-discord-bot

Last synced: 10 months ago
JSON representation

A simple Discord bot written in TypeScript.

Awesome Lists containing this project

README

          

# 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:

```json
{
"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.