Skip to content

Commit

Permalink
Merge pull request #75 from Verycutecat/master
Browse files Browse the repository at this point in the history
More block explorer change and a minor typo fix
  • Loading branch information
bbedward authored Oct 18, 2024
2 parents e59dc73 + 64dc0c7 commit 820cef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cogs/spy.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async def ufw_cmd(self, ctx: Context):
if Env.banano():
response += f"https://creeper.banano.cc/explorer/account/{acct.address}\n"
else:
response += f"https://nanocrawler.cc/explorer/account/{acct.address}\n"
response += f"https://blocklattice.io/account/{acct.address}\n"

embed = discord.Embed(colour=0xFBDD11 if Env.banano() else discord.Colour.dark_blue())
embed.set_author(name="UFW Result", icon_url="https://github.com/bbedward/graham_discord_bot/raw/master/assets/banano_logo.png" if Env.banano() else "https://github.com/bbedward/graham_discord_bot/raw/master/assets/nano_logo.png")
Expand Down
2 changes: 1 addition & 1 deletion tasks/transaction_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def notify_user(self, tx: Transaction, hash: str):
bot: Bot = self.bot
user = bot.get_user(tx.sending_user.id)
if user is None:
self.logger.warn(f"User with ID {tx.sending_user.id} was not found, so I couldn't notify them of their withdraw")
self.logger.warn(f"User with ID {tx.sending_user.id} was not found, so I couldn't notify them of their withdrawal")
return
if Env.banano():
await user.send(f"Withdraw processed: https://creeper.banano.cc/explorer/block/{hash}")
Expand Down

0 comments on commit 820cef3

Please sign in to comment.