semvec/pypi-packages huggingface dataset:
dbot-cli 0.8.11
A discord bot project helper with a useful command line interface. Written by StroupBSlayen edit by RMK.
License: MIT
Requires Python: >=3.6,<4.0
Keywords: discord,discord.py,masonite-orm,discord bot


Discord Bot CLI
===============

An easy way to keep your discord bot projects consistant and work with
their database using the command line. Inspired by `Masonite
ORM <https://github.com/MasoniteFramework/orm>`__.

Installation
------------

pip install dbot-cli

Overview
--------

Prefix: ``dbot``

Available commands:

::

    branches               Available branches of the discord bot
    docstring              Generate a docstring from a table name
    help                   Display the manual of a command
    make:cog               Creates a new Cog extension.
    make:command           Creates a new Command extension.
    make:migration         Creates a new migration file.
    make:observer          Creates a new observer file.
    make:seed              Creates a new seed file.
    migrate                Run migrations.
    migrate:refresh        Rolls back all migrations and migrates them again.
    migrate:reset          Rolls back all migrations.
    migrate:rollback       Rolls back the last batch of migrations.
    migrate:status         Display migrations status.
    model                  Creates a new model file.
    new                    Creates a new discord bot base.
    seed:run               Run seeds.

Usage
~~~~~

This package is built off of the Masonite ORM and most of the commands
work the same way as in their
`documentation <https://orm.masoniteproject.com/>`__.

Example
-------

.. code:: text

    dbot new bot_project --token=8675309 

Would create a new full bot project directory called ``bot_project`` and
will download the latest version of the `discord bot
framework <https://github.com/stroupbslayen/discord-bot>`__. You can
always change the token and your database connections in the
``config.yaml`` file in your projects main directory.

CD into the project directory and you can easily add a cog/command using
the ``make`` command:

.. code:: text

    dbot make:cog new_cog
    dbot make:command new_command

If you don't need something so complex, you can use the ``-s`` or
``--simple`` flag. This will create a basic single file discord bot:

.. code:: text

    dbot new simple_bot -s -t 8675309

Requirements
~~~~~~~~~~~~

::

    masonite-orm==1.0.52
    requests

License
-------

This project is licensed under MIT - see the `LICENSE <LICENSE>`__ file
for details.

Notes
~~~~~

`Here is the bot scaffolding the cli will
download <https://github.com/QBA96/discord-bot>`__.

Different versions can be specified with the ``-b, --branch=BRANCH``
option for the new command.

Documentation for the `Masonite ORM <https://orm.masoniteproject.com>`__

Documentation for
`discord.py <https://discordpy.readthedocs.io/en/latest/>`__

[v0.8]
======

Changelog
---------

-  Modded version for Masonity ORM.
-  Added INTENS options.