-Carlos👑
Explore posts from serversSIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
alright ty
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
so I would need to put the
Autowarnings
context menu is a different file?25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
basically in the file I have a
warnings
message command, where you can add a flag to view automod warnings instead of manual ones, in the same file I had a Warnings
context menu which lets you view only manual warns, I wanted to see if it was possible to have a third command in the same file, this one would be a Autowarnings
context menu command25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
I wasn't talking about preconditions
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
sorry for re-opening this post, but is it possible to have 2 context menu commands in 1 file (while also having a message command in the same file, so basically 1 message command and 2 context menu commands in one file)
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
doing this also removed the error I was getting, ty
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
would adding a
if()
on the precondition to check if it's a context menu interaction work?25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
just realized having the 2 versions of a command in the same file would interfere with the preconditions, since the slash and message versions of the command have different ones, is there any way of fixing this, for example setting different preconfitions for each version of the command even if they are on the same file?
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
looks like that wasn't the issue
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
just realized something, on the command i'm having problems with I added a precondition that doesn't support contextMenuRun, would that be the issue?
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
not sure if this helps but I have a similar file where the 2 versions of the command (message and slash) are in the same file and they work correctly
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
alright, I updated the bin: https://pastebin.com/Ciqk03at
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
i ran the command while having the code inside a try catch and no errors were returned
25 replies
SIASapphire - Imagine a framework
•Created by -Carlos👑 on 11/2/2024 in #sapphire-support
Context Menu not working
that was just an example, there are actual options on the full command, the imports are also there in the full command
25 replies
DIAdiscord.js - Imagine an app
•Created by -Carlos👑 on 10/13/2024 in #djs-questions
Automod triggering twice
just checked with all the other automod rules and they work correctly, ty
31 replies
DIAdiscord.js - Imagine an app
•Created by -Carlos👑 on 10/13/2024 in #djs-questions
Automod triggering twice
now i understand
31 replies
DIAdiscord.js - Imagine an app
•Created by -Carlos👑 on 10/13/2024 in #djs-questions
Automod triggering twice
i see
31 replies
DIAdiscord.js - Imagine an app
•Created by -Carlos👑 on 10/13/2024 in #djs-questions
Automod triggering twice
wouldn't ignoring one of them just stop the code from running? due to the
return
?31 replies
DIAdiscord.js - Imagine an app
•Created by -Carlos👑 on 10/13/2024 in #djs-questions
Automod triggering twice
in which way would adding this would prevent the code from running twice if the automod rule has 2 actions
31 replies
DIAdiscord.js - Imagine an app
•Created by -Carlos👑 on 10/13/2024 in #djs-questions
Automod triggering twice
and what should I check it against
31 replies