Skip to content

infernalsaber/AkaneBot

Repository files navigation

Akane Bot

Python 3.10 License: MIT Code style: black

An discord bot for animanga related search and feed functions

Written in Python 3.10 in the hikari microframework, using hikari-lightbulb and hikari-miru to extend functionality.

Navigation

  1. Features
  2. Add to your Server
  3. Running it Locally
  4. Credits

Adding the bot

As of present, the bot is not public.
Please contact fenix.er on Discord should you want to add it to your server.

Features

  • Search for animanga/vn/games
  • Make cool comparitive charts
  • Find the source (sauce)
  • Anime update feeds
  • Add/remove emotes

More coming soon...

Run Locally

Prerequisites

Before you start, you'll need to have Python and create a Discord app with the proper permissions:

  • applications.commands
  • bot (with Send Messages enabled)

Configuring the app is covered in detail in the getting started guide.

Note: Remember to enable the text messages intent as it's required for prefix commands

Setup project

First clone the project:

$ git clone https://github.com/infernalsaber/AkaneBot.git

Note: You can also run the SETUP.py file (instructions in file)

Open the directory and run

$ mv env.template .env

Now put your Discord Bot Token and SauceNAO Token in the .env file

Install dependencies

Do

$ pip install -r requirements.txt

To install the dependencies

If you plan to modify the source code, do the same for requirements_dev.txt

If you're an active python developer, might want to create a virtual environment first

Run the app

You're all set up now.

Run the following to get the bot running

$ python -OO main.py

Btw:
i. replacing the owner id with your own would be a good idea
ii. the emotes will break on your instance, so do replace them with equivalent ones

Releases

No releases published

Packages

No packages published