1
0
Fork 0
mirror of synced 2024-06-15 17:14:34 +12:00

Merge pull request #17 from ddlr/fortune-mod

Add fortune-mod dependency to README.md
This commit is contained in:
Dan Hess 2017-03-01 20:16:29 -06:00 committed by GitHub
commit 8ed6f528a8

View file

@ -5,7 +5,7 @@ This is for a Discord bot using the discord.py wrapper made for fun, used in a c
If you'd like to add this bot to one of your own servers, please visit the following URL:
https://discordapp.com/oauth2/authorize?client_id=183748889814237186&scope=bot&permissions=0
This requires the discord.py library, as well as all of it's dependencies.
This requires the discord.py library, as well as all of its dependencies.
https://github.com/Rapptz/discord.py
To save the data for the bot, rethinkdb is what is used:
@ -20,6 +20,14 @@ py -3 -m pip install discord.py[voice] lxml fuzzywuzzy youtube_dl rethinkdb ruam
Note: ATM of writing this, Pillow 3.4.2 (the stable version...good job Pillow?) is broken, do not use pip's default to install this. This is why we're using Pillow==3.4.1 above, and not just Pillow
The joke command requires the fortune-mod package, which are installable on Linux and other Unix-based distros.
Debian, Ubuntu, etc.:
```
sudo apt install fortune-mod
```
If you're on Red Hat, Fedora, etc., replace ``apt`` with ``yum``. If you're on another Linux distro, I trust you know what package manager to use. If you're on Windows, you might want to check out [this guide](http://superuser.com/questions/683162/bsd-fortune-for-windows-command-prompt-or-dos), but you're on your own.
The only required file to modify would be the config.yml.sample file. The entries are as follows:
- bot_token: The token that can be retrieved from the [bot's application page](https://discordapp.com/developers/applications/me)
@ -36,6 +44,6 @@ The only required file to modify would be the config.yml.sample file. The entrie
- da_secret: The deviant art Secret, given with the da_id above
- shard_count: This is the number of shards the bot is split over. 1 needs to be used if the bot is not being sharded
- shard_id: This will be the ID of the shard in particular, 0 if sharding is not used
- extensions: This is a list of the extensions loaded into the bot (check the cogs folder for the extensions available). The disabled playlist is a special entry....read that file for what it's purpose is....most likely you will not need it. Entries in this list need to be separated by ", " like in the example.
- extensions: This is a list of the extensions loaded into the bot (check the cogs folder for the extensions available). The disabled playlist is a special entry....read that file for what its purpose is....most likely you will not need it. Entries in this list need to be separated by ", " like in the example.
- db_*: This is the information for the rethinkdb database. The cert is the certificate used for driver connections