From fca826df39ae6d3270d636dd8465245ea019e0ae Mon Sep 17 00:00:00 2001 From: joe Date: Sat, 16 Jan 2021 13:36:23 -0500 Subject: [PATCH] fix #157 --- the_prestige.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the_prestige.py b/the_prestige.py index 9df36cf..5c63553 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -609,7 +609,7 @@ class StartDraftCommand(Command): draft = Draft.make_draft() mentions = {f'<@!{m.id}>' for m in msg.mentions} content = msg.content.split('\n')[1:] # drop command out of message - if len(content) % 3: + if not content or len(content) % 3: await msg.channel.send('Invalid list') raise ValueError('Invalid length')