Problem with quick.db

if (command === “warn”){
if(!message.member.roles.has(‘599967372211912705’))
return;
if(!args[0]||!args[1]) return message.channel.send(“You must include both a user and a reason”);
var user = message.mentions.members.first() || client.users.get(args[0])
var reason = args.slice(1).join(’ ')
modlogs.add(${message.guild.id}.${user.id}.warncount, 1)
var warnID = modlogs.get(warnID)
modlogs.push(${user.id}.warns.${warnID}, [User: <@${user.id}>, Warned by: <@${message.author.id}>, Reason: ${reason}])
modlogs.add(warnID, 1)
message.channel.send(**<@${user.id}> was warned for: ${reason}**)
somehow warnID gets changed to null instead of the actual number


@shadowdevelopment

didn’t I say to ping me when you posted? :rage:

i did lmao why u so salty