52bf19204cf916772af06179ed36767c2c80619b
HimBot
A discord bot written in Typescript and running on the Deno runtime.
It's dangerous to go alone! Take this!
- Install Deno here (required)
- The Deno VSCode Extension (recommended)
Structure
Commands and Events are all stored in named files within the src/commands and src/events directories respectively. Usage and example ts files can be found in the examples folder.
To generate a new Command or Event run deno task new:command or deno task new:event respectively.
Running Locally
- Copy
.env.exampleand rename to.env - Create a Discord Bot with all gateway permissions enabled
- Generate a token for this discord bot and paste it in the .env for
BOT_TOKEN - Run
deno run --allow-all mod.tsto run locally
Adding the bot to a server
Use the following link (replacing BOT_TOKEN with your own Token of course...) to add your bot:
https://discord.com/oauth2/authorize?client_id=BOT_TOKEN&scope=bot&permissions=8
Languages
Go
97.4%
Nix
1.4%
Dockerfile
1.2%