Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
/ remi Public archive

Discord bot written in Python 3 for managing Mixare

License

Notifications You must be signed in to change notification settings

9u4n7r01d/remi

Repository files navigation

Notice: This repo is archived pending a rewrite and re-speccing.


(Operator) Remi

A Discord bot built on hikari + lightbulb to manage my server

But why hikari + lightbulb?

I could have chosen Red-DiscordBot like my old projects (that never get to see the light of day). But, due to Red being bound to Python 3.9 because discord.py, and I can't be arsed to make her cooperate with Python 3.10 because one gotta ride the software update train, and because discord.py is dead, with pycord being its mere corpse reanimated sloppily. Might as well take the time to learn a new framework.

It's scary, yes; I have to reimplement some features I take for granted from Red-DiscordBot, yes. But I don't see why I need to stay in my comfortable zone. Plus, it's something I've been sitting on for quite a while, might as well take a stab at it.

As for why lightbulb, it's a coin flip.

Instruction

Installation

git clone https://github.com/PythonTryHard/remi
cd remi

# For normal usage
poetry install --no-dev

# For development
poetry install  
pre-commit install

Setting up

In the repository root, edit .env.example then rename it to .env. Example:

TOKEN='Your token goes here'
BOT_PREFIX='op!'
OWNER_IDS='31415,92653,58979,32385'
DATA_PATH=''
  • TOKEN: Your bot's token, obtained from Discord Developer Dashboard.
  • BOT_PREFIX: Your preferred prefix for your bot. This will be the default prefix.
  • OWNER_IDS: Comma-separated Discord user IDs. Those assigned will have full access to the bot's functionalities. Use with care.
  • DATA_PATH: Location to store your bot's various configuration files.

Usage

$ remi --help
Usage: remi [OPTIONS]

Options:
  -v, --verbose  Increase verbosity (can be stacked).
  -f, --file     Enable writing log files (rotated at midnight).
  --dev          Enable developer mode.
  --log-sql      Enable logging of SQL.
  --help         Show this message and exit.

Contribution

All contributions are welcomed, whether issues, PRs, or even typo corrections.

Attribution

License

See LICENSE. TL; DR: MIT License

About

Discord bot written in Python 3 for managing Mixare

Resources

License

Stars

Watchers

Forks

Packages

No packages published