From 4dcc9724817ffd9d85d78dd50d85f084ed7ac677 Mon Sep 17 00:00:00 2001 From: Joseph Banks Date: Sat, 16 Feb 2019 14:48:15 +0000 Subject: Add a docstring to the createteam command --- bot/cogs/jams.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bot/cogs/jams.py b/bot/cogs/jams.py index c664d759a..746f42106 100644 --- a/bot/cogs/jams.py +++ b/bot/cogs/jams.py @@ -22,6 +22,12 @@ class CodeJams: self, ctx: commands.Context, team_name: str, members: commands.Greedy[Member] ): + """ + Create a team channel in the Code Jams category, assign roles and then add + overwrites for the team. + + The first user passed will always be the team leader. + """ code_jam_category = utils.get(ctx.guild.categories, name="Code Jam") if code_jam_category is None: -- cgit v1.2.3