No history found.
README.md:
Botly
This is a bot base for Discord, made using Discord.py API. The base
consists of an event handling core. It loads the reactions from the
given parent module directory. The reactions consists of a hook to an
event, a trigger that defines when it should activate and a reaction
logic when it runs.
Dependencies
- Python 3.4+
- Discord.py API: https://github.com/Rapptz/discord.py
- lxml
Usage
Install the dependencies:
pip install discord.py
pip install lxml
Review the example robot for a presentation of the bot structure. It
includes a file documenting the available methods for event processing
in the reactions
directory.
The Discord bot token should be set in the XML database file. An
example of this file is bundled with the example.
In your main, instantiate Botly along with the base module directory
then the UNIX path to the XML database file.
Run with python.
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/detche/Botly
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/detche/Botly
Clone this repository using git:
git clone git://git.rocketgit.com/user/detche/Botly
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main