diff --git a/src/cogs/utils.py b/src/cogs/utils.py index 6f09019..92bf050 100644 --- a/src/cogs/utils.py +++ b/src/cogs/utils.py @@ -492,7 +492,7 @@ class Utils(commands.Cog): if fromSlash != True: messageID = ctx.message.id reminderID = Reminder().ajoutReminder(messageID, ctx.channel.id, extrarg, reminder, now, now + seconds, ctx.author.id, guildID) - return await mySendHidden(ctx, fromSlash, f"Ton reminder `{reminderID[0][0]}` est enrengistré !, je t'en parles {destination} dans {timedeltaToString(seconds)} avec 1m de retard maximum.") + return await mySendHidden(ctx, fromSlash, f"Ton reminder `{reminderID[0][0]}` est enrengistré, je te notifie {destination} dans {timedeltaToString(seconds)} (avec 1m de retard maximum).") await mySendHidden(ctx, fromSlash, embed = embed) @_reminder.error async def _reminder_error(self, ctx, error): @@ -585,13 +585,13 @@ class Utils(commands.Cog): texte = f"{texte[:1021]}..." expiration = reminder[2] - int(nowUTC()) if expiration > 0: - expiration = f"Expire dans {timedeltaToString(expiration)} +1m de retard max." + expiration = f"Expire dans {timedeltaToString(expiration)}" else: expiration = f"A déjà expiré." embed.add_field(value = texte, name = f"#{reminder[3]} • Fais le {timestampScreen(intToDatetime(reminder[1]))}\n{expiration}", inline = False) else: embed.add_field(name = "\u200b", value = "Vous n'avez aucun rappel en attente !") - embed.set_footer(text = "Les rappels qui ont déjà expirés vont apparaître dans quelques instants.") + embed.set_footer(text = "Les rappels qui ont déjà expirés vont apparaître dans quelques instants.\nIls peuvent avoir jusqu'à 1 minute de retard maximum.") await ctx.send(embed = embed) @cog_ext.cog_slash(name="reminderlist", description = "Affiche la liste des rappels d'un utilisateur.") async def __reminderlist(self, ctx, user = None):