mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-13 08:33:02 -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
|
// Disable mentions
|
||||||
if(!message.allowedMentions) message.allowedMentions = {parse: [], repliedUser: false}
|
if(!message.allowedMentions) message.allowedMentions = {parse: [], repliedUser: false}
|
||||||
|
|
||||||
|
message.nonce = Math.floor(Math.random() * 9999 + 1000)
|
||||||
|
|
||||||
// Handle responses for interaction context
|
// Handle responses for interaction context
|
||||||
if(context.editOrRespond){
|
if(context.editOrRespond){
|
||||||
return context.editOrRespond(message).catch((e)=>{
|
return context.editOrRespond(message).catch((e)=>{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue