mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-09-17 16:52:47 +00:00
9 lines
373 B
Python
9 lines
373 B
Python
import discord
|
|
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.defer()
|
|
image = discord.File("src/data/assets/current_map.png", filename="ride.png")
|
|
await ctx.respond(file=image, embed=build_info_embed()) |