Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ninjabot

A personal Discord bot I made as a fun project.

Installation

First, clone the repository:

$ git clone https://github.com/Ninjaclasher/Ninjabot
$ cd Ninjabot

Install the prerequisites:

$ apt update
$ apt install mariadb-server git python3
$ pip install -r requirements.txt

As well, create the database and load the tables:

$ mysql -uroot -p
MariaDB> CREATE DATABASE ninjabot DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_general_ci;
MariaDB> GRANT ALL PRIVILEGES ON ninjabot.* to 'ninjabot'@'localhost' IDENTIFIED BY '<password>';
MariaDB> exit
$ mysql -uroot -p ninjabot < ninjabot.sql

Finally, create the necessary files:

$ touch local_settings.py

Usage

Add any settings to local_settings.py that differ from settings.py. In particular, you should add the bot TOKEN, and MySQL credentials.

$ python3 main.py

About

A personal multi-purpose Discord Bot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages