From 68805bb77d56f22854508f7912d00bdaab5daf5c Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Tue, 14 Jul 2020 03:49:18 +0200 Subject: Change docstrings to use suffixed command names. --- bot/cogs/doc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py index 09bddb02c..673a1156f 100644 --- a/bot/cogs/doc.py +++ b/bot/cogs/doc.py @@ -445,7 +445,7 @@ class Doc(commands.Cog): !docs !docs aiohttp !docs aiohttp.ClientSession - !docs get aiohttp.ClientSession + !docs getdoc aiohttp.ClientSession """ if not symbol: inventory_embed = discord.Embed( @@ -501,7 +501,7 @@ class Doc(commands.Cog): The database will update the object, should an existing item with the specified `package_name` already exist. Example: - !docs set \ + !docs setdoc \ python \ https://docs.python.org/3/ \ https://docs.python.org/3/objects.inv @@ -530,7 +530,7 @@ class Doc(commands.Cog): Removes the specified package from the database. Examples: - !docs delete aiohttp + !docs deletedoc aiohttp """ await self.bot.api_client.delete(f'bot/documentation-links/{package_name}') -- cgit v1.2.3