diff options
| author | 2019-02-16 14:48:15 +0000 | |
|---|---|---|
| committer | 2019-02-16 14:48:15 +0000 | |
| commit | 4dcc9724817ffd9d85d78dd50d85f084ed7ac677 (patch) | |
| tree | 882a6e993cf9157dfab81d311810c8ebe8324868 | |
| parent | Enable loading of the jams cog (diff) | |
Add a docstring to the createteam command
| -rw-r--r-- | bot/cogs/jams.py | 6 |
1 files changed, 6 insertions, 0 deletions
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: |