Note: This repository contains the code to the new version of TypicalBot that is under development. If you are looking for the current version of TypicalBot, visit the main repository.
A description about TypicalBot
Project | Language | Description |
---|---|---|
rest proxy | TypeScript (Deno) | REST proxy to handle all Discord events. |
gateway | TypeScript (Deno) | Gateway connection to Discord. |
internal-api | Rust | REST api to handle all calls to the database. |
This section provides a quick-start guide
- Deno: Deno 11.1 or newer is required.
- Rust: Rust 1.54 or newer is required
- MongoDB: MongoDB 4.x or newer is required
- Ensure all prerequisites are installed.
- Clone the repository, ie.
git clone https://github.com/typicalbot/typicalbot-deno.git
- Cache the dependencies, ie.
deno cache deps.ts
- Create an
.env
file using the example file, fill out the missing variables. - Run
deno run --unstable -A src/rest/mod.ts
to start the REST proxy. Optionally, denox can be installed and the REST proxy can be started withdenox run start:rest
. - In a separate terminal, run
deno run -A src/gateway/mod.ts
to start the gateway. Optionally, denox can be installed and the gateway can be started withdenox run start:gateway
.
Please review our security policy on how to report security vulnerabilities.
TypicalBot is open source software licensed under the Apache License, Version 2.0. TypicalBot uses modifications of software developed by Discordeno in compliance with its license, a copy of which is available with the source of this software.