return ID of created reminder

This commit is contained in:
Mylloon 2021-07-28 14:20:43 +02:00
parent d88812cf60
commit 571eb580cf

View file

@ -31,6 +31,7 @@ class Reminder(Database):
); );
""" """
self.requete(requete, [messageID, channelID, extrarg, reminder, creation, expiration, userID, guildID]) self.requete(requete, [messageID, channelID, extrarg, reminder, creation, expiration, userID, guildID])
return self.affichageResultat(self.requete("SELECT last_insert_rowid();"))
def suppressionReminder(self, id = int): def suppressionReminder(self, id = int):
"""Supprime un reminder.""" """Supprime un reminder."""