Use an sqlite3 database for timer feature
There were some other small edits as well, mostly formatting or better logging in certain functions
This commit is contained in:
parent
a098ab6616
commit
d41b28ec91
13 changed files with 2277 additions and 59 deletions
|
@ -5,7 +5,7 @@ module.exports = {
|
|||
let authorTimers = "";
|
||||
client.timers.forEach(timer => {
|
||||
if(timer.user === message.author.id)
|
||||
authorTimers += `${timer.ID} : <t:${timer.reminderDate}:R> | ${timer.customMessage}\n`;
|
||||
authorTimers += `${timer.ID} : <t:${timer.reminderDate}:R>`;
|
||||
});
|
||||
let sendText = "" === authorTimers ? `You have no timers` : `Your timers are:\n${authorTimers}`
|
||||
message.channel.send(sendText);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue