Metadata-Version: 2.4
Name: krakenings-discord-bot
Version: 0.1.2
Summary: discord bot for Krakenings schedule
License: MIT
Requires-Python: ~=3.13.0
Requires-Dist: aiohttp~=3.11.11
Requires-Dist: audioop-lts; python_version >= '3.13'
Requires-Dist: click>=8.1.8
Requires-Dist: discord-py~=2.4.0
Requires-Dist: environ-config>=24.1.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: humanize>=4.11.0
Requires-Dist: icecream>=2.1.4
Requires-Dist: nhl-stats-client>=1.0.0
Requires-Dist: numpy>=2.2.2
Requires-Dist: pillow>=11.1.0
Requires-Dist: pydantic-extra-types>=2.10.2
Requires-Dist: pydantic>=2.10.6
Requires-Dist: python-dateutil~=2.8.2
Requires-Dist: rich>=13.9.4
Requires-Dist: svcs>=25.1.0
Requires-Dist: tomli>=2.2.1
Description-Content-Type: text/markdown

# Krakenings Discord Bot

This bot exists to occasionally send game info to channels in the Krakenings Discord. 

## Usage

```
docker run -e BOT_TOKEN -e GUILD_ID \
    -v bot-config.toml:/etc/bot-config.toml:ro 
    ghcr.io/offbyone/krakenings-discord-bot:latest
```

You can get the bot token from the discord developer portal. The Guild ID is the Discord Server ID. You can get it by enabling developer settings in discord and right clicking on the server. The CHANNEL_ID should be the ID of the voicechannel where the events will be held.

## Adding the bot to a Server

Add the Bot to the Server (only Admins can do this!)

Go to https://discord.com/oauth2/authorize?client_id={clientid}&scope=bot&permissions=8589934592

where the clientid is the id of the bot.

## Building

``` shellsession
docker build -t ghcr.io/offbyone/krakenings-discord-bot:latest . 
```

This will be automatically built on PRs and pushes to `main`, too
