mirror of
https://github.com/godotengine/issue-bot.git
synced 2026-01-03 18:09:50 +03:00
Small clarity fixes
This commit is contained in:
3
bot.py
3
bot.py
@@ -278,12 +278,13 @@ class Bot:
|
|||||||
for link in links:
|
for link in links:
|
||||||
link['ts'] = msg['ts'],
|
link['ts'] = msg['ts'],
|
||||||
|
|
||||||
|
# Deduplicate links
|
||||||
[msg['attachments'].append(x) for x in links if x not in msg['attachments']]
|
[msg['attachments'].append(x) for x in links if x not in msg['attachments']]
|
||||||
|
|
||||||
update_msg = {
|
update_msg = {
|
||||||
"msg": "method",
|
"msg": "method",
|
||||||
"method": "updateMessage",
|
"method": "updateMessage",
|
||||||
"id": "blah",
|
"id": "update-message",
|
||||||
"params": [ msg ]
|
"params": [ msg ]
|
||||||
}
|
}
|
||||||
self.send(update_msg)
|
self.send(update_msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user