From 70c13c242ad3d08b0be7ab226967d3763243b3d3 Mon Sep 17 00:00:00 2001 From: Konstantine Tsafatinos Date: Fri, 21 Jul 2023 18:52:15 -0400 Subject: [PATCH] change the footer text, and increase timeout interval to 2 mins --- skynet/frontend/discord/__init__.py | 2 +- skynet/frontend/discord/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skynet/frontend/discord/__init__.py b/skynet/frontend/discord/__init__.py index 7687c3b..91f9dcc 100644 --- a/skynet/frontend/discord/__init__.py +++ b/skynet/frontend/discord/__init__.py @@ -194,7 +194,7 @@ class SkynetDiscordFrontend: tx_hash = None ipfs_hash = None - for i in range(60): + for i in range(120): try: submits = await self.hyperion.aget_actions( account=self.account, diff --git a/skynet/frontend/discord/utils.py b/skynet/frontend/discord/utils.py index c033129..5e6522d 100644 --- a/skynet/frontend/discord/utils.py +++ b/skynet/frontend/discord/utils.py @@ -69,7 +69,7 @@ def prepare_metainfo_caption(user, worker: str, reward: str, meta: dict, embed) embed.add_field(name='Parameters', value=f'```{meta_str}```', inline=False) foot_str = f'Made with Skynet v{VERSION}\n' - foot_str += f'JOIN THE SWARM.\nFor more info, join our server here: https://discord.gg/JYM4YPMgK' + foot_str += f'JOIN THE SWARM: https://discord.gg/JYM4YPMgK' embed.set_footer(text=foot_str)