diff --git a/extensions/appointments.py b/extensions/appointments.py index 4eee61101d971cfcc7dd9cf51b0656841a1e98ae..ef9e69aacb5c44d50a588807617e2e52f937946a 100644 --- a/extensions/appointments.py +++ b/extensions/appointments.py @@ -67,7 +67,7 @@ class Appointments(commands.GroupCog, name="appointments", description="Handle A title="Titel des Termins (so wie er dann evtl. auch im Kalender steht).", description="Detailliertere Beschreibung, was gemacht werden soll.", recurring="In welchem Intervall (in Tagen) soll der Termin wiederholt werden?") - async def cmd_add_appointment(self, interaction: Interaction, date: str, time: str, reminder: int, title: str, + async def cmd_add_appointment(self, interaction: Interaction, title: str, date: str, time: str, reminder: int, description: str = "", recurring: int = 0) -> None: """ Add an appointment to a channel """ channel = interaction.channel diff --git a/fernuni_bot.py b/fernuni_bot.py index ae07ad20f36ff008c353cdf3572e2e6e977afdb7..e989e2b0963e3316dcd8076f0c90bac1b4d23982 100644 --- a/fernuni_bot.py +++ b/fernuni_bot.py @@ -62,7 +62,7 @@ class Boty(commands.Bot): return "%d.%m.%Y %H:%M" -bot = Boty(command_prefix='!', help_command=None, activity=Game(ACTIVITY), owner_id=OWNER, intents=intents, +bot = Boty(command_prefix=')', help_command=None, activity=Game(ACTIVITY), owner_id=OWNER, intents=intents, initial_extensions=extensions)