Slightly improved hardcoded messages
This commit is contained in:
@@ -199,7 +199,9 @@ class CogEvent(Cog):
|
||||
start_date = start_date.replace(tzinfo=guild_timezone)
|
||||
except ValueError:
|
||||
# TODO Make a nice message
|
||||
await ctx.respond("Could not parse the start date.")
|
||||
await ctx.respond(
|
||||
"Could not parse the start date. Please, make sure it is provided in `DD.MM.YYYY HH:MM` format."
|
||||
)
|
||||
return
|
||||
|
||||
try:
|
||||
@@ -209,7 +211,9 @@ class CogEvent(Cog):
|
||||
end_date = end_date.replace(tzinfo=guild_timezone)
|
||||
except ValueError:
|
||||
# TODO Make a nice message
|
||||
await ctx.respond("Could not parse the end date.")
|
||||
await ctx.respond(
|
||||
"Could not parse the end date. Please, make sure it is provided in `DD.MM.YYYY HH:MM` format."
|
||||
)
|
||||
return
|
||||
|
||||
if not await validate_event_validity(ctx, name, start_date, end_date, guild_timezone):
|
||||
|
Reference in New Issue
Block a user