Hello everyone !
I make a discord bot with mongoDB and I create a command to modify an article from my bot’s shop.
Before modifying a particular article, it must already be found in the database. Is it possible to find out if the name typed in the command exists in the database ? If it does not exist, it returns an error message.
Thank you and good evening !