An open API service indexing awesome lists of open source software.

https://github.com/onnenon/doob_bot

A Raider.io bot for discord
https://github.com/onnenon/doob_bot

bot discord discord-bot raiderio world-of-warcraft

Last synced: 4 months ago
JSON representation

A Raider.io bot for discord

Awesome Lists containing this project

README

          

# Doob Bot

![checks workflow](https://github.com/onnenon/doob_bot/actions/workflows/main.yml/badge.svg)
[![Maintainability](https://api.codeclimate.com/v1/badges/673d65713d212728cd2c/maintainability)](https://codeclimate.com/github/onnenon/doob_bot/maintainability)

A simple Raider.io bot for discord

## To add the bot to a Discord server

1. Click this Discord app [link](https://discordapp.com/oauth2/authorize?client_id=447202191909060613&scope=bot)
2. Choose the discord server where you would like to add the bot.
3. Type a command in a text channel.

## Bot Commands

**Replace any spaces in realm names with an underscore** _(ie. shattered hand becomes shattered_hand)_

### All commands require a character name and realm name. If no region is given the Bot will default to US

| Command | Description |
| -------------------------------------------- | ---------------------------------------------------------- |
| `#info ` | Basic info about character. |
| `#ioscore ` | The Raider.io score of a character. |
| `#highest ` | Three highest mythic dungeons completed by character. |
| `#best ` | Three best scoring mythic dungeons completed by character. |

## Screenshots

### #ioscore command

![ioscore screenshot](media/ioscore_screen.png)

#### #info command

![info command](media/info_screen.png)

## To set up your own version of the bot

- clone the project: `git clone https://github.com/onnenon/doob_bot.git`

- cd into the project directory and create a virtual environment: `python3 -m venv env`

- copy the env_example environment file: `cp env_example.env .env`

- edit your .env file to have your unique bot token. (_get a bot token by following this [wiki](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token)_)

- source your .env file to activate your virtual environment, install requirements, and set your BOT_TOKEN as an environment variable: `source .env`

- add the bot to your discord server by going to your unique client ID link: `https://discordapp.com/oauth2/authorize?client_id=&scope=bot`

- run the app: `python3 doob_bot/__init__.py` _(as long as the process remains running the bot will be online)_

_created by Stephen Onnen July 2018_
_updated August 2019_