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.
- Host: GitHub
- URL: https://github.com/selfmadesystem/mydiscordbot
- Owner: SelfMadeSystem
- License: agpl-3.0
- Created: 2021-09-27T04:08:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T21:42:17.000Z (over 3 years ago)
- Last Synced: 2025-04-05T20:05:16.380Z (about 1 year ago)
- Topics: discord, discord-bot, discord-js, discord-js-bot, discordjs, discordjs-bot, discordjsbot, type, typescript, typescript-discord-bot
- Language: TypeScript
- Homepage:
- Size: 116 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.