Skip to main content

A discord bot project helper with a useful command line interface

Project description

# Discord Bot CLI

An easy way to keep your discord bot projects consistant and work with their database using the command line. Inspired by [Orator ORM](https://github.com/sdispater/orator).

## Installation

pip install discord-bot-cli

## Overview Prefix: dbot

Available commands: ` branches          Available branches of the discord bot help              Displays help for a command list              Lists commands migrate           Run the database migrations. new               Creates a new discord bot base. db db:seed           Seed the database with records. make make:cog          Creates a new Cog extension. make:command      Creates a new Command extension. make:migration    Create a new migration file. make:model        Creates a new Model class. make:seed         Create a new seeder file. migrate migrate:install   Create the migration repository. migrate:refresh   Reset and re-run all migrations. migrate:reset     Rollback all database migrations. migrate:rollback  Rollback the last database migration. migrate:status    Show a list of migrations up/down. `

### Usage This package is built off of Orator ORM and most of the commands work the same way as in their [documentation](https://orator-orm.com/docs/0.9/).

You can create a new bot directory bot_project and pre-load your token like this: `cmd dbot new bot_project --token=8675309 ` CD into the project directory and you can easily add a cog/command using the make command: `cmd dbot make:cog new_cog dbot make:command new_command `

### Requirements

` python3.6 > discord.py>=1.2.4 orator==0.9.9 requests `

## License

This project is licensed under MIT - see the [LICENSE](LICENSE) file for details.

### Notes

Documentation for the [Orator ORM](https://orator-orm.com/docs/0.9/)

Documentation for [discord.py](https://discordpy.readthedocs.io/en/latest/)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for discord-bot-cli, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size discord_bot_cli-0.5.1-py3-none-any.whl (37.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size discord-bot-cli-0.5.1.tar.gz (10.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page