forked from Decentrala/chatbot
Add link to tasks that have users assigned
This commit is contained in:
parent
d08e8199f8
commit
3d80517a6f
@ -43,7 +43,8 @@ def getDmzTasks(url):
|
||||
usersList = ""
|
||||
for user in assignedUsers:
|
||||
usersList += user.find("div").text.split(": ")[1] + ", "
|
||||
result += usersList[:-2] + "\n\n"
|
||||
result += usersList[:-2] + "\n"
|
||||
result += "\tLink: " + url + task.find("a")["href"][1:] + "\n\n"
|
||||
return result
|
||||
except Exception as e:
|
||||
return e
|
||||
|
Loading…
Reference in New Issue
Block a user