mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-09-17 16:52:47 +00:00
feat: map of route in /info embed
This commit is contained in:
+3
-1
@@ -4,4 +4,6 @@ from src.dc.embeds import build_info_embed
|
||||
def setup_commands(bot: discord.Bot):
|
||||
@bot.slash_command(description="Informationen über die aktuelle Fahrt")
|
||||
async def info(ctx):
|
||||
await ctx.respond(embed=build_info_embed())
|
||||
await ctx.defer()
|
||||
image = discord.File("src/data/assets/current_map.png", filename="ride.png")
|
||||
await ctx.respond(file=image, embed=build_info_embed())
|
||||
Reference in New Issue
Block a user