deleting/hiding message within channel for specific user
Hey, just asking if there is a way for bot to hide/delete a message within a single channel from a specific user within that channel?
It is not based on slash commands and
2 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
discordjs: v13.11.0 and node: v19.4.0
Meaning the only real way to keep a message user specific is to either make countless channels or to use the DM channel for it.
Gotchu.
Thanks!
Basically i have bot that is simply webscrapping websites to gain information about certain computer hardware and even promo codes for specific games. (as in like reward codes you would say)
My intention was, whenever the user decided to click on the button (either to buy the article, or to use the code), the message in the channel would disappear for set user, as he "already interacted" with the message.
Obviously, it does not matter how the user interacts with the message or at all, all i would realistically need for such action is the user object and the message object.
Now obviously this would work just fine within a dm channel, as i can delete messages however i want and the user would not see them anymore, however it wasn't really my intention to personally dm each user embed messages.