From c1e2ecf0d52b6dc32e1a20e0a3d3d92b12b9f848 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Wed, 4 Jan 2017 22:25:30 -0600 Subject: [PATCH 1/4] Added missing ' --- config.yml.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.yml.sample b/config.yml.sample index 37908ac..2e370b7 100644 --- a/config.yml.sample +++ b/config.yml.sample @@ -1,4 +1,4 @@ -bot_token: 'token +bot_token: 'token' owner_id: ['12345'] description: 'Bot Description Here' command_prefix: '!' From b28915466492b11c6f6a1bdb884b4ea58216be38 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Fri, 6 Jan 2017 21:58:39 -0600 Subject: [PATCH 2/4] Updated the settings to include the required extensions, and add a few new keys --- config.yml.sample | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.yml.sample b/config.yml.sample index 2e370b7..1b7e5dd 100644 --- a/config.yml.sample +++ b/config.yml.sample @@ -6,8 +6,14 @@ default_status: '!help for a list of commands' discord_bots_key: 'key' carbon_key: 'key' twitch_key: 'key' +youtube_key: 'key' +osu_key: 'key' +da_id: 'id' +da_secret: 'key' +dev_server: 'https://discord.gg/123456' user_agent: 'User-Agent/1.0.0 (Comment like link to site)' +extensions: [cogs.cog1, cogs.cog2] shard_count: 1 shard_id: 0 From 4258e60023826f5c25fb350801d5c188e8d6ff70 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Fri, 6 Jan 2017 22:01:49 -0600 Subject: [PATCH 3/4] Added the newest entries to the config.yml file --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d082e6a..24ecdc6 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,12 @@ The only required file to modify would be the config.yml.sample file. The entrie - discord_bots_key: The key for the [bots.discord.pw site](https://bots.discord.pw/#g=1), if you don't have a key just leave it blank, it should fail and log the failure - carbon_key: The key used for the [carbonitex site](https://www.carbonitex.net/discord/bots) - twitch_key: The twitch token that is used for the API calls +- youtube_key: The key used for youtube API calls +- osu_key: The key used for Osu API calls +- da_id: The deviant art ID retrieved when registering an application, needed for API calls. +- 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. - db_*: This is the information for the rethinkdb database. The cert is the certificate used for driver connections From 497bb5e963dbaf6d5e4aecd65c8725510849de81 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Fri, 6 Jan 2017 22:11:36 -0600 Subject: [PATCH 4/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24ecdc6..6202d64 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ https://www.rethinkdb.com/docs/install/ I also use a few libraries that aren't included by default, which can be installed using pip. ``` -python3.5 -m pip install rethinkdb pendulum ruamel.yaml BeautifulSoup4 Pillow==3.4.1 +python3.5 -m pip install discord.py[voice] lxml fuzzywuzzy youtube_dl rethinkdb ruamel.yaml pendulum Pillow==3.4.1 readline # Or on windows -py -3 -m pip install rethinkdb pendulum ruamel.yaml BeautifulSoup4 Pillow==3.4.1 +py -3 -m pip install discord.py[voice] lxml fuzzywuzzy youtube_dl rethinkdb ruamel.yaml pendulum Pillow==3.4.1 readline ``` 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