found differences for command when i havent made any changes
not sure whats happening but i havent made any changes and it still says its finding differences
35 Replies
did you add idHints after you sent the code last? because you didn't add them before. Either way if you dont even want to bother just enable bulk overwrite in your
index.ts
this is for a different bot
but yeah i do have idHints
working on multiple projects at the same time š¤
wouldnt it be wiser to finish one project before starting another
i was doing it for a friend cause he wanted a bot like that
matchmaking and stuff
will do this ig but just wanted to let you know in case of a potential issue with the sapphire code
Challonge
The Ultimate Source for Tournament Brackets
damn never seen this before looks cool
you'd be the only one of many to face this issue. I'm sure Sapphire correctly reports that there are changes. Pretty sure all the things with application commands have been ironed out thoroughly by now. Either way, @vladdy (who made that code) nor I will just like before not be able to help without detailed code. Always provide as much detail as possible
When asking for help, make sure to provide as much detail as possible. What have you tried so far? Do you have stacktraces that you can show us? What are you trying to achieve? Try to answer these questions and others, so we do not have to ask for them afterwards.
āÆ For a good guide on how to ask questions, see the instructions that StackOverflow gives. You should try to always follow these guidelines. āÆ For an excellent video that shows how not to ask technical questions is this, watch this YouTube video by LiveOverflow. āÆ Asking technical questions (Clarkson) āÆ How to ask questions the smart way (Raymond)
can put the whole SettingsCommand.ts in a hastebin
https://hastebin.skyra.pw/cofasuposi.ts
š
found DIFFERENCES
can you get me your command json
command json?
as in the slash command json you have
.
aka your registerApplicationCommands method
oh
no doy
ty
np
okay so the comparison is definitely failing @vladdy, I can reproduce it as well. Didn't someone report a long while ago before there was an issue with channel options? I seem to recall something like that.
no clue
https://github.com/sapphiredev/framework/issues/692 created a GH issue for it. This has full command code that doesn't expire like the hastebin will. Also stubbed out all the actual methods so no prisma or whatever is needed.
GitHub
[SFW-81] bug: application command comparison failing causing comman...
Is there an existing issue for this? I have searched the existing issues Description of the bug Given a specific configuration for registering a command, the deep comparison is failing causing the ...
all good then hope this gets fixed
for the record, 9/10 times it is something in terms of config lol... I guess you found that last 1 of 10
okk time to get off my lazy ass and investigate this
yay!!!
well i did progress, but it'll probs be done tomorrow or so
what the fuck
o h
ā
āļø
oh
āļø
Solution
@iaqi replace your gear emote
That'll solve the always matching
was that it lol
damn bruh
in your case, yes
for the future, use RegisterBehavior.VerboseOverwrite if you spot a command wrongly updating
and of course, report here if its wrongly happening or you think its wrongly happening
wait my midnight brain isn't functioning. ELI5 @vladdy ?
TL;DR: the gear unicode they were using was not the escaped emote but rather some other symbol, discord interpreted it differently than code
i just used win and . to find the cog emote
it worked before
yeahhhh best bet is to send it in discord escaped (slap a
\
in front of it) and copy that inwhen i use the unicode it shows up as the question mark symbol in vscode
cause i use the jetbrains mono font
tysm yeah i will
i use that font too and have never had that issue
usually if it shows question marks it means you didnt copy the whole emote
really
huh