diff --git a/cogs/alias.py b/cogs/alias.py index 7d2889415..5211aed07 100644 --- a/cogs/alias.py +++ b/cogs/alias.py @@ -22,7 +22,7 @@ class Alias: async def _add_alias(self,ctx,command : str,*,to_execute): """Add an alias for a command - Example: !alias add test penis @TwentySix""" + Example: !alias add test flip @Twentysix""" server = ctx.message.server if self.get_prefix(to_execute) == False: to_execute = self.bot.command_prefix[0] + to_execute diff --git a/cogs/audio.py b/cogs/audio.py index 0ed425271..be61952a2 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -791,7 +791,7 @@ def setup(bot): raise RuntimeError("You need to run `pip3 install youtube_dl`") return if opus is None: - raise RuntimeError("You need to get the *.exe's and opus.dll from 26's github.") + raise RuntimeError("You need to install ffmpeg and opus. See \"https://github.com/Twentysix26/Red-DiscordBot/wiki/Requirements\"") return loop = asyncio.get_event_loop() n = Audio(bot) diff --git a/cogs/customcom.py b/cogs/customcom.py index 42629387d..ef76eeb42 100644 --- a/cogs/customcom.py +++ b/cogs/customcom.py @@ -88,6 +88,7 @@ class CustomCommands: @commands.command(pass_context=True, no_pm=True) async def customcommands(self, ctx): + """Shows custom commands list""" server = ctx.message.server if server.id in self.c_commands: cmdlist = self.c_commands[server.id] diff --git a/cogs/general.py b/cogs/general.py index a3de88c93..e077b2ad6 100644 --- a/cogs/general.py +++ b/cogs/general.py @@ -21,10 +21,10 @@ class General: "Don't count on it", "My reply is no", "My sources say no", "Outlook not so good", "Very doubtful"] self.poll_sessions = [] - @commands.command() + @commands.command(hidden=True) async def ping(self): """Pong.""" - self.bot.say("Pong.") + await self.bot.say("Pong.") @commands.command() async def choose(self, *choices): diff --git a/cogs/mod.py b/cogs/mod.py index b1c7a6691..6a466b9fb 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -160,7 +160,7 @@ class Mod: await self.bot.delete_message(x) @commands.group(pass_context=True) - @checks.admin_or_permissions(ban_members=True) + @checks.is_owner() async def blacklist(self, ctx): """Bans user from using the bot""" if ctx.invoked_subcommand is None: @@ -188,7 +188,7 @@ class Mod: @commands.group(pass_context=True) - @checks.admin_or_permissions(ban_members=True) + @checks.is_owner() async def whitelist(self, ctx): """Users who will be able to use the bot""" if ctx.invoked_subcommand is None: diff --git a/red.py b/red.py index 2b50dc209..d841bf718 100644 --- a/red.py +++ b/red.py @@ -311,7 +311,7 @@ def wait_for_answer(author): choice = input("> ") if choice == "yes": settings.owner = author.id - print(author.name + " has been set as owner. A restart is required, maybe?") + print(author.name + " has been set as owner.") lock = False else: print("setowner request has been ignored.")