From aeb595ce9abc13a04bd99b813de669e78d676b00 Mon Sep 17 00:00:00 2001 From: Konstantine Tsafatinos Date: Fri, 13 Oct 2023 23:27:16 -0400 Subject: [PATCH] edit discord init to change default domain to explorer domain --- skynet/frontend/discord/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skynet/frontend/discord/__init__.py b/skynet/frontend/discord/__init__.py index d68dca1..4560e72 100644 --- a/skynet/frontend/discord/__init__.py +++ b/skynet/frontend/discord/__init__.py @@ -234,7 +234,7 @@ class SkynetDiscordFrontend: await message.edit(embed=embed) return False - tx_link = f'[**Your result on Skynet Explorer**](https://explorer.{DEFAULT_DOMAIN}/v2/explore/transaction/{tx_hash})' + tx_link = f'[**Your result on Skynet Explorer**](https://{self.explorer_domain}/v2/explore/transaction/{tx_hash})' msg_text += f'**request processed!**\n{tx_link}\n[{timestamp_pretty()}] *trying to download image...*\n ' embed = discord.Embed(