Skip to content
Snippets Groups Projects
Unverified Commit 2e548a38 authored by dnns01's avatar dnns01 Committed by GitHub
Browse files

Update appointments.py

parent 57d832f5
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ class Appointments(commands.GroupCog, name="appointments", description="Handle A
try:
date_time = datetime.strptime(f"{date} {time}", self.bot.dt_format())
except ValueError:
await channel.send("Fehler! Ungültiges Datums und/oder Zeit Format!")
await interaction.response.send_message("Fehler! Ungültiges Datums und/oder Zeit Format!")
return
appointment = Appointment.create(channel=channel.id, message=0, date_time=date_time, reminder=reminder,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment