Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
EpocDotFr committed Dec 15, 2023
1 parent 0695b1a commit 1e334bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rwrs/discord/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def event_set_from_discord(

return Message('Event updated.', ephemeral=True)
except (arrow.parser.ParserError, ValueError):
return Message('Invalid start/end time provided (should be `{}`)'.format(app.config['EVENT_DATETIME_INPUT_FORMAT']), ephemeral=True)
return Message('Invalid start/end time provided (should be any format supported by Arrow)', ephemeral=True)
except event.ManualEventAlreadySetError:
return Message('Aborting: an event has already been manually set', ephemeral=True)
except Exception as e:
Expand Down

0 comments on commit 1e334bb

Please sign in to comment.