Slightly improved hardcoded messages
This commit is contained in:
@@ -43,7 +43,9 @@ class CogGuess(Cog):
|
||||
|
||||
if user.current_event_id is None or user.current_stage_id is None:
|
||||
# TODO Make a nice message
|
||||
await ctx.respond("You have no ongoing events.")
|
||||
await ctx.respond(
|
||||
"You have no ongoing events. You can register for events using the `/register` command."
|
||||
)
|
||||
return
|
||||
|
||||
try:
|
||||
@@ -51,9 +53,7 @@ class CogGuess(Cog):
|
||||
stage: PycordEventStage = await self.bot.find_event_stage(user.current_stage_id)
|
||||
except (InvalidId, RuntimeError):
|
||||
# TODO Make a nice message
|
||||
await ctx.respond(
|
||||
"Your event could not be found. Please, report this issue to the event's management."
|
||||
)
|
||||
await ctx.respond("Your event could not be found. Please, contact the administrator.")
|
||||
return
|
||||
|
||||
if ctx.channel_id != user.event_channels[str(event._id)]:
|
||||
@@ -90,6 +90,7 @@ class CogGuess(Cog):
|
||||
guild,
|
||||
f"User **{ctx.author.display_name}** ({ctx.author.mention}) has completed the event",
|
||||
)
|
||||
|
||||
return
|
||||
|
||||
next_stage: PycordEventStage = await self.bot.find_event_stage(next_stage_id)
|
||||
|
Reference in New Issue
Block a user