/README.md (43cc367ee8608a8760e6665ac29c411d58dc8b99) (912 bytes) (mode 100644) (type blob)

# 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:

```bash
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.



Mode Type Size Ref File
100644 blob 10175 e454a52586f29b8ce8a6799163eac1f875e9ac01 LICENSE
100644 blob 912 43cc367ee8608a8760e6665ac29c411d58dc8b99 README.md
040000 tree - 7de25ebe51cb4c1425d20b503d385e48f400383c botly
100644 blob 172 3f148ab99d152565c46e51fd45e51030417f7faa example.py
040000 tree - e05b34e00f419ee6a20bf1bb6a0603727b1b4399 examplebot
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