diff --git a/cogs/audio.py b/cogs/audio.py index 36eed8870..6cd1feeb3 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -70,7 +70,7 @@ class Audio: else: self.playlist = [] self.current = -1 - if not queue: await self.bot.say("The link has been put into queue.") + if not self.queue: await self.bot.say("The link has been put into queue.") self.queue.append(link) else: await self.bot.say("That link is not allowed.") diff --git a/cogs/general.py b/cogs/general.py index 4be5bb4aa..3a0e4c08d 100644 --- a/cogs/general.py +++ b/cogs/general.py @@ -31,7 +31,7 @@ class General: if len(choices) < 2: await self.bot.say('Not enough choices to pick from.') else: - await self.bot.say(choice(choices)) + await self.bot.say(randchoice(choices)) @commands.command() async def roll(self, number : int = 100): diff --git a/cogs/mod.py b/cogs/mod.py index cf42050b2..d406de517 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -87,8 +87,8 @@ class Mod: """Deletes last X messages from specified user. Examples: - cleanup @\u200bTwentysix 2 - cleanup Red 6""" + cleanup user @\u200bTwentysix 2 + cleanup user Red 6""" message = ctx.message cmdmsg = message if number > 0 and number < 10000: @@ -112,7 +112,7 @@ class Mod: """Deletes last X messages. Example: - cleanup 26""" + cleanup messages 26""" channel = ctx.message.channel if number > 0 and number < 10000: async for x in self.bot.logs_from(channel, limit=number+1):