Skip to content

antony-ramos/GuildOps

Repository files navigation

guildOps logo

GuildOps - Manage your WoW guild with a Discord Bot


About

GuildOps provides a way to manage your WoW Guild with a discord Bot.

  • Create raids ;
  • Assign Loots ;
  • Calculate Loot counter ;
  • Add notes on players ;
  • And more !

Install

Before anything, you need to edit the config at config/config.yml to add your discord bot token, guild id and postgres credentials You can also provides them via environment variables. dotenv is required for docker-compose.

Go

go install github.com/antony-ramos/guildops/cmd/guildops@latest
guildops ...

Docker

docker run  ghcr.io/antony-ramos/guildops

Docker-compose

docker-compose up

Debian

Before anything, you need to edit the config at config/config.yml to add your discord bot token, guild id and postgres credentials.

make dpkg.build 
make dpkg.install

You can remove it with make dpkg.remove

You can also install it via ssh. You need to setup SSH_HOST and SSH_USER in your environment.

export SSH_HOST=yourhost
export SSH_USER=youruser
make ssh.install

Usage

Configuration

A configuration file is required to run GuildOps.

This configuration file should be located at "config/config.yml" or any file specified by CONFIG_PATH

app:
  name: 'guildops'
  version: '0.0.1'
  environment: "development"

logger:
  level: debug

metrics:
  port: 2213

postgres:
  pool_max: 10
  conn_attempts: 10
  conn_timeout: 5s

For exemple :

app:
  name: 'guildops'
  version: '0.0.1'
  environment: "development"

logger:
  level: debug

metrics:
  port: 2213

postgres:
  pool_max: 10
  conn_attempts: 10
  conn_timeout: 5s

Secret

Secrets are needed to be set in the environment variables

export DISCORD_TOKEN=yourtoken
export DISCORD_GUILD_ID=yourguildid
export PG_URL=yourpostgresurl

For Debian installation, you must set them in config file.

app:
  name: 'guildops'
  version: '0.0.1'
  environment: "development"

logger:
  level: debug

metrics:
  port: 2213

discord:
  token: <yourtoken>
  guild_id: <yourguildid>

postgres:
  pool_max: 10
  conn_attempts: 10
  conn_timeout: 5s
  url: <yourpostgresurl>

Use Discord Commands

Please read our usage guide

Support

Reach out to the maintainer at one of the following places:

Contributing

First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please read our contribution guidelines, and thank you for being involved!

Security

guildops follows good practices of security, but 100% security cannot be assured. guildops is provided "as is" without any warranty. Use at your own risk.

For more information and to report security issues, please refer to our security documentation.

License

This project is licensed under the CeCILL License 2.1.

See LICENSE for more information.

Acknowledgements

Thanks for these awesome resources and projects that were used during development:

About

Manage your WoW guild with a Discord Bot

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages