diff options
author | 2020-06-13 08:08:36 +0300 | |
---|---|---|
committer | 2020-06-13 08:08:36 +0300 | |
commit | 314f9a829a6bc12677bac17ff04b2501b4d93f0c (patch) | |
tree | ac5ad19340d493602682b1dd8629a0635a07aea4 | |
parent | Jam Tests: Apply recent command splitting to `test_jam_roles_adding` (diff) |
Fix `create_channels`, `get_category` docstrings
-rw-r--r-- | bot/cogs/jams.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/jams.py b/bot/cogs/jams.py index 16dda35c8..74140b9db 100644 --- a/bot/cogs/jams.py +++ b/bot/cogs/jams.py @@ -52,7 +52,7 @@ class CodeJams(commands.Cog): @staticmethod async def get_category(ctx: commands.Context) -> CategoryChannel: - """Create Code Jam category when this don't exist and return this.""" + """Create a Code Jam category if it doesn't exist and return it.""" code_jam_category = utils.get(ctx.guild.categories, name="Code Jam") if code_jam_category is None: @@ -99,7 +99,7 @@ class CodeJams(commands.Cog): return team_channel_overwrites async def create_channels(self, ctx: commands.Context, team_name: str, members: t.List[Member]) -> str: - """Create team text and voice channel. Return name of text channel.""" + """Create team text and voice channels. Return the mention for the text channel.""" # Get permission overwrites and category team_channel_overwrites = self.get_overwrites(members, ctx) code_jam_category = await self.get_category(ctx) |