diff options
| author | 2020-12-12 04:26:22 +0100 | |
|---|---|---|
| committer | 2021-01-09 20:10:52 +0100 | |
| commit | 677f2ad91dbc16ef3a33c102e4932d99a65437da (patch) | |
| tree | 33ce6056599343669df211cbbc06d8728532ab9e | |
| parent | Call command method directly (diff) | |
Change param styling to be consistent with the repo
| -rw-r--r-- | bot/exts/info/doc/_cog.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py index 4cd28e29a..60e86353b 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -187,9 +187,7 @@ class DocCog(commands.Cog): await self.bot.wait_until_guild_available() await self.refresh_inventory() - async def update_single( - self, api_package_name: str, base_url: str, inventory_url: str - ) -> bool: + async def update_single(self, api_package_name: str, base_url: str, inventory_url: str) -> bool: """ Rebuild the inventory for a single package. @@ -391,8 +389,11 @@ class DocCog(commands.Cog): @commands.has_any_role(*MODERATION_ROLES) @lock("doc", COMMAND_LOCK_SINGLETON, raise_error=True) async def set_command( - self, ctx: commands.Context, package_name: PackageName, - base_url: ValidURL, inventory_url: InventoryURL + self, + ctx: commands.Context, + package_name: PackageName, + base_url: ValidURL, + inventory_url: InventoryURL, ) -> None: """ Adds a new documentation metadata object to the site's database. |