From 656a09a616183ff434411f4f280109413ed7d4a5 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Wed, 21 Mar 2018 10:03:27 +0000 Subject: [ClickUp] Allow a hash at the start of a task ID --- bot/cogs/clickup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot/cogs/clickup.py b/bot/cogs/clickup.py index 079678aa4..8bae30378 100644 --- a/bot/cogs/clickup.py +++ b/bot/cogs/clickup.py @@ -131,6 +131,9 @@ class ClickUp: Get a task and return information specific to it """ + if task_id.startswith("#"): + task_id = task_id[1:] + embed = Embed(colour=Colour.blurple()) embed.set_author( name=f"ClickUp Task: #{task_id}", -- cgit v1.2.3