jojo-discord-bot

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

README

JOJO Discord Bot

go-ref-badge gh-license-badge discord-badge

codecov-badge gh-contributors-badge gh-stars-badge

Description

This is an open source Discord bot mainly developed by Lazy Bytez.
If you want to take part in the development of the bot please check out the Contributing section.

Open source doesn't mean everyone can do whatever they want with the bot so there is a strict LICENSE we want you to respect.

Getting started

Requirements
  1. Go 1.19
  2. Git
  3. Docker
  4. Make
Setup

Copies env and installs dependencies

make setup

Copies env.example to .env

make env

Installs go dependencies needed to run the bot (like discordgo)

make install
Running

Run your code to test and for development purposes.

make run 

Build executable for production usage.

make build 
QA

Shows test and codecov results.

make test

Local linting to assure code styling.

make lint

Contributing

If you want to take part in contribution, like fixing issues and contributing directly to the code base, please visit the How to Contribute document.

Commit messages

Construct of a commit message:

prefix(scope): commit subject with max 50 chars

Example commit message:

feat(comp): add ping slash command
Scopes

Project specific scopes and what to use them for.

'deps', // Changes done on anything dependency related
'devops', // Changes done on technical processes
'api', // Changes in /api/ directory
'comp', // Changes in /component/ directory
'int', // Changes in /internal/ directory
'core' // Changes on files in project root
Prefixes:

Also see CONTRIBUTING.md#commits

'feat', // Some new feature that has been added
'fix', // Some fixes to an existing feature
'build', // Some change on how the project is built
'chore', // Some change that just has to be done (like updating dependencies)
'ci', // Some changes to the continues integration workflows
'docs', // Some changes to documentation located in the repo (either markdown files or code DocBlocks)
'perf', // Some performance improvements
'refactor', // Some code changes, that neither adds functionality or fixes a bug
'revert', // Some changes that revert already done changes
'style', // Some fixes regarding code style
'test', // Some automated tests that have been added

License - Contributing - Code of conduct - Issues - Pull requests


Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL