From 00d098d6eefe63d7f1fa33186642af6dcc4501d3 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Sun, 7 Feb 2016 23:42:50 +0100 Subject: [PATCH 1/5] Removed debug message --- cogs/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/audio.py b/cogs/audio.py index 6cd1feeb3..7ffb781e6 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -248,7 +248,7 @@ class Audio: if await self.check_voice(ctx.message.author, ctx.message): if not self.playlist: self.queue.append(link) - await self.bot.say(self.queue) + await self.bot.say("Link added to queue.") else: await self.bot.say("I'm already playing a playlist.") From 85c9446f287bfe621b33ee4e083cf0888b6e9955 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 8 Feb 2016 00:28:37 +0100 Subject: [PATCH 2/5] Linux fix --- red.py | 1 + 1 file changed, 1 insertion(+) diff --git a/red.py b/red.py index 5f6470109..83b047453 100644 --- a/red.py +++ b/red.py @@ -221,6 +221,7 @@ def list_cogs(): cogs = glob.glob("cogs/*.py") clean = [] for c in cogs: + c = c.replace("/", "\\") # Linux fix clean.append("cogs." + c.split("\\")[1].replace(".py", "")) return clean From 55913b9db75c690008257e3ae2c2996922c89b60 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 8 Feb 2016 00:42:53 +0100 Subject: [PATCH 3/5] Even more typos --- cogs/trivia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/trivia.py b/cogs/trivia.py index 85734ed3c..04fcb1c87 100644 --- a/cogs/trivia.py +++ b/cogs/trivia.py @@ -83,7 +83,7 @@ class TriviaSession(): if self.questionList: await self.newQuestion() else: if os.path.isfile("data/trivia/" + qlist + ".txt"): - self.questionList = self.loadList("trivia/" + qlist + ".txt") + self.questionList = self.loadList("data/trivia/" + qlist + ".txt") self.status = "new question" self.timeout = time.perf_counter() if self.questionList: await self.newQuestion() From dc4e6d4973bd445e754183f071671d3fa81fcd8b Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 8 Feb 2016 00:47:05 +0100 Subject: [PATCH 4/5] Update README.md --- README.md | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index c480e069c..0381e5063 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,6 @@ # Red - A multifunction Discord bot #### *Now fully modular* -This is a work in progress. Bugs and missing features are to be expected. +This is a work in progress. Bugs and missing features are to be expected. -The only requirement for the main part is: -``` -pip3 install git+https://github.com/Rapptz/discord.py@async -``` -The requirements for the audio module are: -``` -pip3 install youtube_dl -pip3 install beautifulsoup4 -Opus/ffmpeg -``` -Either you install ffmpeg and opus from the original sources or you can download them directly from the [main branch](https://github.com/Twentysix26/Red-DiscordBot). -Just click on the 3 .exes and the opus dll, then click on the "raw" button to download them. -If you do this, you also need to put them in the main folder, next to red.py +####[ [How to try it out](https://github.com/Twentysix26/Red-DiscordBot/wiki/Red-v2) ] From 1026c8188bd605648e8059af1b95d5ba3b7735cb Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 8 Feb 2016 01:09:14 +0100 Subject: [PATCH 5/5] Help fix Commands no longer show up in help if you don't have the permissions to use them --- red.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red.py b/red.py index 83b047453..205dd0d7d 100644 --- a/red.py +++ b/red.py @@ -23,7 +23,7 @@ description = """ Red - A multifunction Discord bot by Twentysix """ -formatter = commands.HelpFormatter(show_check_failure=True) +formatter = commands.HelpFormatter(show_check_failure=False) bot = commands.Bot(command_prefix=["_"], formatter=formatter, description=description, pm_help=True)