Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.7 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.7 KB

CØPR - Cosmos Proposal Bot

Sonarcloud Docker Build & Publish

What is this?

This small project is a bot built for Discord using .Net 6. This, in turn, means that it can run on any platform where the .Net 6 runtime is available.

Ok, why .Net?

It's was just faster for me to build it that way as I've used the .Net libraries to build Discord bots before

How do I run it?

CØPR can run as a standalone executable or as a Docker container.

Run CØPR standalone

Update the appsettings.json file with whatever parameters you need and start it! If you're having issues and what to find out why, we recommend updating LogLevel values to Trace/Debug first of all, as the bot will become a lot more chatty that way.

Run CØPR as a Docker container

The easiest way to run CØPR is to use the Docker image. You can find published images on Docker Hub, or you can build and run an image yourself locally. For example, use the provided docker-compose.yml in order to get going quickly.

Please note that you must set the BotOptions__DiscordApiToken environment variable in docker-compose.yml, or the bot will not be able to start!

Dependencies