Skip to content

Simple Discord Bot for a School project written in GO. This bot will allow you to create your own RPG character and fight against enormous monsters to become the strongest one.

License

Notifications You must be signed in to change notification settings

HETIC-MT-P2021/RPGo

Repository files navigation

License golang golang-version commit build-CI

RPGo 💣

Simple Discord Bot for a School project written in GO. This bot will allow you to create your own RPG character and fight against enormous monsters to become the strongest one.

Project features

  • ✅ Create a character
  • ⏱ Have specific character classes
  • ⏱ Have a random background spawned per character created

Authors

Athénais Dussordet

Alexandre Lellouche

Last but not least : Thomas Raineau

Usage

git config core.hooksPath .githooks

Configure GitHooks

cp docker-compose.yaml.dist docker-compose.yaml

Docker configuration override, don't forget to add the Token and SQL variables

docker-compose up --build

Run the project

Resources

External libraries used :

  • discordgo : used to connect to the Discord API
  • gomock : used to mock functions in command tests
  • sqlmock : used to mock sql functions in repository test

Pattern implemented

The command pattern is implemented throughout the project as it is well suited for an RPG Discord bot. Here is some documentation on how we implemented it.

About

Simple Discord Bot for a School project written in GO. This bot will allow you to create your own RPG character and fight against enormous monsters to become the strongest one.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •