Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
/ example Public archive

Bare-bones example for using Cordis

License

Notifications You must be signed in to change notification settings

cordis-lib/example

Repository files navigation

Simple "ping/pong" example using Cordis

This example is very barebones. Normally you would have multiple micro-services doing various things, using Redis to hold any data, creating a necessity for "common" libraries and overall, the need for a monorepo. This repo simply deploys a single worker bot that only processes MESSAGE_CREATE packets.

NOTE: This layout will work even for single-sharded bots, the single worker here processing all the MESSAGE_CREATE packets from all shards.


Requirements


Usage

To get started, simply create an .env file and fill it out using the .env.example file as reference.

docker-compose build will build everything needed.

docker-compose up -d will start up the whole app.

License

This repository is licensed under a modified version of the MIT license, allowing you to do whatever you want with the source code here without the need to provide credit/the original LICENSE file.

About

Bare-bones example for using Cordis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published