From ff8696850fcb18048ee17d6d21c14c1bd558615f Mon Sep 17 00:00:00 2001 From: esefxdz Date: Fri, 17 Jul 2026 13:35:05 +0300 Subject: [PATCH] add calendar link to booking confirmation, add !koharu command --- cogs/calendar.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cogs/calendar.py b/cogs/calendar.py index cd7027a..661a3f3 100644 --- a/cogs/calendar.py +++ b/cogs/calendar.py @@ -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: