Giter Site home page Giter Site logo

hoftherose / discord-roulette-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 193 KB

Discord bot to kill myself (or someone else). Russian roulette bot with powerups and various modes.

License: Apache License 2.0

Python 88.34% Makefile 6.03% Mako 2.83% Shell 2.80%

discord-roulette-bot's Introduction

Discord Roulette Bot

Description

Discord bot for playing russian roulette and variations of the game. Features will include game settings, possible powerups and team based games.

Badges

On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.

Getting started

Local Installation

There are multiple components to the project which each needs their own way of running. The easiest is to use docker and docker-compose docker compose up -d. Once all of the containers are up and running you can open player.localhost/docs on the browser or any other container path to start using the application.

Running locally

If you instead want to install all of the tooling locally, you can use the makefile to see what commands need to be run. In this project we use poetry for python dependencies. You can use Make commands to install the required dependencies, for development install-dev. If you wish to contribute, also run install-lint,install-test,install-hooks to place the correct githook checks and their dependencies into your local machine.

Running on kubernetes

To run on kubernetes you need to setup 3 items: the enable pulling images, generate configmaps and secrets and finally setup the deployment. In order to pull images you need to create the dockerconfigfile secret "registry-credentials". You can use the following command to generate this using gitlab deployment tokens. Make sure it is created in the correct namespace

kubectl... kubectl apply -f k8s/dev/config.yml

Once you have the pull secrets you need to create the secrets and fill in the configmap. Secrets file values are not stored in git so it must be generated similar to before or filled in manually. The configmap values should be the same as the ones presented in k8s/dev/config.yml

Once you have both of the previous, run kubectl apply -f k8s/dev/deployment.yml and watch over the logs to make sure everything was built correctly.

Roadmap

We are currently creating the basis for the project, including CICD and architecture setup to allow for seamless development. The features being planned are not complicated in the sense of optimizations, so only basic funcionality will be released first. Once the system is out, more work can be done on making the game more interactive and allowing more game modes.

Contributing

State if you are open to contributions and what your requirements are for accepting them.

For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.

You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.

License

discord-roulette-bot's People

Contributors

hoftherose avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.