discord bot for sydney trans
- TypeScript 77.7%
- JavaScript 22.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| commands/utility | ||
| db | ||
| features | ||
| types | ||
| .gitignore | ||
| deno.json | ||
| deno.lock | ||
| deploy-commands.js | ||
| eslint.config.js | ||
| how2configure.md | ||
| index.ts | ||
| package-lock.json | ||
| package.json | ||
| postgres-init.ts | ||
| readme.md | ||
| sql.ts | ||
how 2 contribute
start a postgres server, make a database on it and then a new user that owns that database, put the connection info into config.json (just go look at how2configure.md or something...)
run deno run postgres-init.ts (this script is DANGEROUS and probably will overwrite any stuff already on that database but will setup all the tables and rows and indexes and stuff)
setup discord bot stuff on discord developer website and also add that to config.json
run deno run deploy if you make new commands or change existing commands metadata to send changes to discord,,
run deno run start to run the actual bot itself