Skip to content

A Music Bot for Discord with a variety of cool features.

License

Notifications You must be signed in to change notification settings

klappstuhlpy/RoboHashira

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoboHashira Project

This project is a Discord bot written in Python using the discord.py library. The Bot is designed as a Music Bot with a variety of featueres, such as Temporary Voice Channels.

Prerequisites

Before running the bot, make sure you have the following installed:

Installation

  1. Clone the repository:
git clone https://github.com/klappstuhlpy/RoboHashira.git
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Create a PostgreSQL database for the bot:
  • Launch the PostgreSQL command-line interface.
  • Run the following command to create a new database:
CREATE ROLE rhashira WITH LOGIN PASSWORD 'password';
CREATE DATABASE rhashira OWNER percy;
CREATE EXTENSION pg_trgm;

3.5 Configuration of database

To configure the PostgreSQL database for use by the bot, go to the directory where launcher.py is located, and run the script by doing python3.11 launcher.py db init

4Configure the bot:

  • Setup a config.py File:
from types import SimpleNamespace

client_id = 0  # Bot ID
client_secret = ''  # Bot secret
token = ''  # Bot token

topgg_key = ''  # Top.gg API Key
mystbin_key = ''  # Mystbin API Key
dbots_key = ''  # Discord Bots List

postgresql = ''  # Your Postgresql connection string

stat_webhook = ('', '')  # Webhook for discord channel for stats

genius = SimpleNamespace(access_token='')  # For lyrics feature
wavelink = SimpleNamespace(url='', password='')

License

This project is licensed under the MPL License. See the LICENSE file for details. This Project utilizes Code from R. Danny

About

A Music Bot for Discord with a variety of cool features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages