mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
Added created_at field to reminders table. Added time remaining timestamp to reminders command. Added creation date timestamp to reminder activation message
This commit is contained in:
parent
4e1b135724
commit
17decd09d5
4 changed files with 44 additions and 6 deletions
|
@ -34,13 +34,14 @@ export class GuildReminders extends BaseGuildRepository {
|
|||
});
|
||||
}
|
||||
|
||||
async add(userId: string, channelId: string, remindAt: string, body: string) {
|
||||
async add(userId: string, channelId: string, remindAt: string, body: string, created_at: string) {
|
||||
await this.reminders.insert({
|
||||
guild_id: this.guildId,
|
||||
user_id: userId,
|
||||
channel_id: channelId,
|
||||
remind_at: remindAt,
|
||||
body,
|
||||
created_at
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue