Commit c6c6222a authored by IS1_4M's avatar IS1_4M
Browse files

Fixed !describe bug

parent 8d698f21
......@@ -161,6 +161,7 @@ async def on_message(message):
if content.startswith('!makeclub'):
clubName = content[len('!makeclub '):].upper()
clubName.replace(' ', '-')
clubs = list(ClubSuite.get_all_clubs(
# make sure we're not making a duplicate club
for i in range(len(clubs)):
......@@ -186,7 +186,7 @@ class ClubSuite(AbstractChanSuite):
elif content.startswith('!convenerhelp'):
await; return True
elif content.startswith('!describe '):
for pin in
for pin in await
if pin.content.startswith("DESCRIPTION SET TO:"):
await pin.unpin()
await (await'DESCRIPTION SET TO: ' + content[len('!describe '):])).pin()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment