Skip to content
Snippets Groups Projects
Commit c6ae4531 authored by Reviath's avatar Reviath
Browse files

Update commands/daily.js

parent 52f5697e
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ exports.run = async(client, message, args, connection) => {
message.channel.send(`You have already claimed today's daily. Please wait \`${time.hours}h ${time.minutes}m ${time.seconds}s\` to claim again.`);
} else{
message.channel.send(`Successfully claimed ${amout}\$.`);
let sql = `INSERT INTO lastDaily (time, userid, guildid) VALUES (${Date.now()}, ${message.author.id}, ${message.guild.id})`
let sql = `INSERT INTO lastdaily (time, userid, guildid) VALUES (${Date.now()}, ${message.author.id}, ${message.guild.id})`
connection.query(sql, function (err, result) {
if (err) throw err;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment