#Making a Warn system for Discord bot where you can delete warnings individually by WarningID

1 messages · Page 1 of 1 (latest)

latent root
#

Hello, I am wondering if someone could help me make a warn system where each warning is separated by Warning ID and how can I delete the warnings individually by warning ID instead of deleting all the user's warnings.

This is for my discord bot for moderation.

Thanks!

#

My schema has looks like this

{
warningId: randomlygeneratedWarnID,
userid: discorduserid,
warnings: 0,
reason: warnreason
}