add calendar link to booking confirmation, add !koharu command

This commit is contained in:
esef committed 2026-07-17 13:35:05 +03:00
1 parent 300f2fa8f0
commit ff8696850f
1 file changed
+6 -1
+6 -1
View File
@@ -170,7 +170,7 @@ class BookModal(discord.ui.Modal, title="Book an Event"):
)
desc = f" \u2014 {description}" if description else ""
msg = f"Booked **{date_display} at {time_str} ({country})**: **{title}**{desc}"
msg = f"Booked **{date_display} at {time_str} ({country})**: **{title}**{desc}\nCalendar: https://esefos.netlify.app/calendar"
await interaction.response.send_message(msg, ephemeral=True)
cog = interaction.client.get_cog("Calendar")
@@ -343,6 +343,11 @@ class Calendar(commands.Cog):
return await ctx.reply("You don't have access to the calendar.", delete_after=5)
await self._unbook_dropdown(ctx)
@commands.command(name="koharu")
async def koharu_cmd(self, ctx: commands.Context) -> None:
"""shikei!"""
await self._send_text(ctx.channel, "shikei!")
async def _unbook_dropdown(self, ctx: commands.Context) -> None:
"""Fetch future events and present a selection dropdown."""
try: