Delete Message Instantly

https://github.com/skyra-project/skyra/blob/main/src/lib/util/functions/messages.ts does the deleteMessageImmediately function in the file above actually delete the message instantly? Faster than doing <Message>.delete()?
GitHub
skyra/src/lib/util/functions/messages.ts at main · skyra-project/sk...
A multipurpose Discord Bot designed to carry out most of your server's needs with great performance and stability. - skyra-project/skyra
Solution:
it still calls message.delete but doesnt throw an error on error codes.
Jump to solution
6 Replies
Solution
Favna
Favna•11mo ago
it still calls message.delete but doesnt throw an error on error codes.
-Carlos👑
-Carlos👑OP•11mo ago
does that somehow make message deletion faster?
Favna
Favna•11mo ago
no
-Carlos👑
-Carlos👑OP•11mo ago
ok
Favna
Favna•11mo ago
In fact the function only exists for the deleteMessage function which in turn only exists for DELAYED deletes (you can find this out by doing some simple code searches for the function usages)
-Carlos👑
-Carlos👑OP•11mo ago
alright
Want results from more Discord servers?
Add your server