Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ollymonger/discord-ts-bot
A example discord bot written in typescript using Prisma for database control & discord.js/ts library.
https://github.com/ollymonger/discord-ts-bot
Last synced: 25 days ago
JSON representation
A example discord bot written in typescript using Prisma for database control & discord.js/ts library.
- Host: GitHub
- URL: https://github.com/ollymonger/discord-ts-bot
- Owner: ollymonger
- License: mit
- Created: 2021-07-11T11:29:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-24T15:05:16.000Z (over 3 years ago)
- Last Synced: 2023-03-03T09:59:13.258Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 863 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# dis-ts-bot
### A discord bot written using Typescript (discord.ts) and Prisma for database control.
#### This example works across multiple guilds and creates an array of all connected guilds in the "ExtendedGuild" type, to allow the bot to interact on a per-guild basis.Thanks for checking this project out. Feel free to use this, however please leave the credits section in.
#### .env example
A `.env` file must be provided in the `src` folder with the keys:
- TOKEN=TOKENLONGSTRINGHERE#### Available scripts
- `npm run start:bot` - Starts the bot: connects through discord api using login info provided from a `.env` file.#### Help and support
`https://discord.gg/fUutRr4C` - join our discord.#### Thanks to
- discord.ts(by /OwenCalvin): `https://github.com/OwenCalvin/discord.ts`
- Prisma: `https://github.com/prisma`