mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
try something funny
This commit is contained in:
parent
52d7e6c25d
commit
32a29c3225
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ module.exports.editOrReply = function(context, message, disableReference = false
|
|||
// Disable mentions
|
||||
if(!message.allowedMentions) message.allowedMentions = {parse: [], repliedUser: false}
|
||||
|
||||
message.nonce = Math.floor(Math.random() * 9999 + 1000)
|
||||
|
||||
// Handle responses for interaction context
|
||||
if(context.editOrRespond){
|
||||
return context.editOrRespond(message).catch((e)=>{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue