Browse Source

Route link to thera embed.

pull/4/head
Mike 3 years ago
parent
commit
34868ed9f5
  1. 4
      cogs/thera.py

4
cogs/thera.py

@ -3,6 +3,7 @@ import operator
from discord.embeds import Embed
from discord.ext import commands
import pendulum
from cogs.route import Route
log = logging.getLogger(__name__)
@ -81,7 +82,8 @@ class Thera(commands.Cog):
name="Est. EOL",
value=f"Less than {time_until_eol.diff_for_humans(absolute=True)}",
)
return await ctx.send(embed=embed)
embed.description = f'http://evemaps.dotlan.net/route/{system_name}:{i["destinationSolarSystem"]["name"]}'
await ctx.send(embed=embed)
return await ctx.send("Could not find a connection to Thera.")

Loading…
Cancel
Save