iancullinane / sheeta

Serverless modular discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generic badge

Sheeta

CDK deployment infrastructure can be found here: link

Cloud bot for discord. Has features for slash commands (auto-generated even), direct chat, cloud deployment, and more to come. Everything in various states of progress. This is currently in heavy development. Originally I utilized a websocket approach, but have switched to a lambda. Use caution.

Usage

For now this will work best being deployed behind a AWS API Gateway HTTP API v2. The reason for this is the container in ecr uses the ecr build image to simplify development.

This repo will automatically build to a configured ecr repository via the drone.yaml.

Application Commands

Before you can use a slash command in discord it my be created via the API. This is done automatically on commit by drone. The src/application package has the definitions as well as commands to build to a discord server.

Use the -b flag with the values create or delete to manage commands locally.

Build

The drone process will also build a binary, but you can use the provided Dockerfiles.

You can build the binary like so:

./build/build.sh

and then:

./bin/sheeta -t <your discord token>

You can provide a flag to only build the commands found in src/appplication

About

Serverless modular discord bot


Languages

Language:Go 96.1%Language:Shell 2.5%Language:Dockerfile 1.4%