diff options
| -rw-r--r-- | apioforum/webhooks.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apioforum/webhooks.py b/apioforum/webhooks.py index a09f951..a0cfd11 100644 --- a/apioforum/webhooks.py +++ b/apioforum/webhooks.py @@ -106,11 +106,11 @@ class DiscordWebhook(WebhookType): payload = { "username":"apioforum", - "avatar_url":"https://d.gh0.pw/lib/exe/fetch.php?media=wiki:logo.png", + "avatar_url":"http://gh0.pw/i/a.ico", "embeds":[ { "title":"new thread: "+thread['title'], - "description":abridge(post['content']), + "description":abridge(post['content'],75), "url": url_for('thread.view_thread',thread_id=thread['id'],_external=True), "color": 0xff00ff, "fields":[ @@ -141,11 +141,11 @@ class DiscordWebhook(WebhookType): payload = { "username":"apioforum", - "avatar_url":"https://d.gh0.pw/lib/exe/fetch.php?media=wiki:logo.png", + "avatar_url":"http://gh0.pw/i/a.ico", "embeds":[ { "title":"re: "+thread['title'], - "description":abridge(post['content']), + "description":abridge(post['content'],75), "url": post_jump(post['id'],external=True), "color": 0x00ffff, "fields":[ |
