diff --git a/cogs/cog_event.py b/cogs/cog_event.py index 75334c9..8fda7d6 100644 --- a/cogs/cog_event.py +++ b/cogs/cog_event.py @@ -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): diff --git a/cogs/cog_guess.py b/cogs/cog_guess.py index c472024..7b8edf0 100644 --- a/cogs/cog_guess.py +++ b/cogs/cog_guess.py @@ -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) diff --git a/cogs/cog_stage.py b/cogs/cog_stage.py index 4a6e3e1..67d03b9 100644 --- a/cogs/cog_stage.py +++ b/cogs/cog_stage.py @@ -294,7 +294,7 @@ class CogStage(Cog): await event_stage.purge(cache=self.bot.cache) # TODO Make a nice message - await ctx.respond("Okay.") + await ctx.respond("Event stage has been deleted.") def setup(bot: PycordBot) -> None: diff --git a/cogs/cog_unregister.py b/cogs/cog_unregister.py index 16e8065..d188fbd 100644 --- a/cogs/cog_unregister.py +++ b/cogs/cog_unregister.py @@ -70,7 +70,7 @@ class CogUnregister(Cog): # TODO Text channel must be locked and updated - await ctx.respond("Ok.") + await ctx.respond("You are no longer registered for this event.") def setup(bot: PycordBot) -> None: