Editing a message deletes it
To explain my system. I have a music bot that some events trigger certain message edits. Upon a user playing a song, an embed with buttons get sent (pic 1) this message gets stored within
Guild
class I extended with types. upon clicking one of the buttons, the message gets edited with new information. For example if someone pauses the song the button changes to another button. But the problem with that is that, upon editing the message. It deletes it. Pictures besides 1st one, show the code pretty much.
2nd pic shows how i store the message and what happens when a track starts playing
3rd pic shows whath what happens when player gets resumed (same thing happens with pausing or any event that edits the message stored)Stealth•27d ago
To add to it, after editing the message, it emits messageDeleted event within api for some reason (probably because it does delete the message)
Welcome to the Sapphire Discord server! The next-gen object-oriented Discord.js bot framework can be found here.
2.2KMembers
View on DiscordWant results from more Discord servers?
More PostsCaching ProblemsHey, i have some problems with caching, on discord.js they sad `All Guilds are cached if you have thRegistering Context CommandsHello
I want to register a context command with this code :
```js
export class ValidRoroCommand exSome questionsHello, I'm new Sapphire and I don't really know how to do the followings.
Right now I have 2 issues:Sapphire command not recognizedI'm trying to install and use sapphire CLI but doesn't matter if I use NPM or Yarn 4.1.1, when I ins