discord-bot-backend

module
v0.0.0-...-f5b74cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: GPL-3.0

README

Discord Bot Backend

Open-sourced code for the Typical Developers Discord bot API.

Environment

Refer to the .env.example for environmental variables.

Developing

Prerequisites

Run go mod download to download dependencies.

Developing API
task dev:api

Optionally, if you want to run the API without building docs and generating SQL schemas:

task dev:compile-api-only
Developing Scheduled Tasks
task dev:tasks
SQL Migrations

Migration are handled by migrate. Migrations should be created in internal/db/migrations and can be ran with task migrate:up (to update) or task migrate:down (to rollback). Queries should be tested before being pushed to production.

Licensing

All code for this project is licensed under the GNU General Public License v3.0 license. Please refer to the LICENSE file for more information regarding rights and limitations.

TL;DR: You are allowed to do whatever with the code (modify, sell, redistribute, etc) as long as you allow others to do the same with yours.

Resources

Directories

Path Synopsis
cmd
api command
tasks command
db
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL