Closed CriticalMomento closed 1 year ago
also how do i get slash id and slash guild id?
ok confirmed that it doesnt so can i request you to make i so it claims button hearts? 🥺
It claims buttons on claim just not on kakera also you have to set up slash rolling options like slash id and slash guild for button snipes
Sent from my iPhone
On Aug 27, 2022, at 11:28 AM, CriticalMomento @.***> wrote:
ok confirmed that it doesnt so can i request you to make i so it claims button hearts? 🥺
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
It claims buttons on claim just not on kakera also you have to set up slash rolling options like slash id and slash guild for button snipes … Sent from my iPhone On Aug 27, 2022, at 11:28 AM, CriticalMomento @.***> wrote: ok confirmed that it doesnt so can i request you to make i so it claims button hearts? 🥺 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
like this?
and set prefix like this?
hmm i get this error
No set prefix back to normal also make sure you have the new version of the repo some changes were made
No set prefix back to normal also make sure you have the new version of the repo some changes were made
i set the prefix back to normal which is "$". downloaded your latest repo which is mudae main still get this
i checked some closed tickets and saw 1 guy managed to solve it by installing discum through git i tried it but
Slashget wasn’t getting assigned properly though discum as you see that I made a pull request with changes on the latest discum repo to fix it so I made 2 code variations I think of slashget for the code prefix and after the fix so try to print out the slashget variable and see if it is empty
Sent from my iPhone
On Aug 28, 2022, at 1:55 AM, CriticalMomento @.***> wrote:
i checked some closed tickets and saw 1 guy managed to solve it by installing discum through git i tried it but
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
Slashget wasn’t getting assigned properly though discum as you see that I made a pull request with changes on the latest discum repo to fix it so I made 2 code variations I think of slashget for the code prefix and after the fix so try to print out the slashget variable and see if it is empty … Sent from my iPhone On Aug 28, 2022, at 1:55 AM, CriticalMomento @.***> wrote: i checked some closed tickets and saw 1 guy managed to solve it by installing discum through git i tried it but — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
soo i just have to wait for now?
No It still works with button claiming just need configuration
Sent from my iPhone
On Aug 28, 2022, at 4:18 AM, CriticalMomento @.***> wrote:
Slashget wasn’t getting assigned properly though discum as you see that I made a pull request with changes on the latest discum repo to fix it so I made 2 code variations I think of slashget for the code prefix and after the fix so try to print out the slashget variable and see if it is empty … Sent from my iPhone On Aug 28, 2022, at 1:55 AM, CriticalMomento @.***> wrote: i checked some closed tickets and saw 1 guy managed to solve it by installing discum through git i tried it but — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
soo i just have to wait for now?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
No It still works with button claiming just need configuration … Sent from my iPhone On Aug 28, 2022, at 4:18 AM, CriticalMomento @.> wrote: Slashget wasn’t getting assigned properly though discum as you see that I made a pull request with changes on the latest discum repo to fix it so I made 2 code variations I think of slashget for the code prefix and after the fix so try to print out the slashget variable and see if it is empty … Sent from my iPhone On Aug 28, 2022, at 1:55 AM, CriticalMomento @.> wrote: i checked some closed tickets and saw 1 guy managed to solve it by installing discum through git i tried it but — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. soo i just have to wait for now? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
and what are those config that i need to do?
welll.....it logs ppl rolling stuff but not doing the rolls or claiming
i tried everything still getting same erros might just give up using main and cope with v4
You won't have button support I don't think 🤔 I'll try when I get home with my personal and see if there is an issue I need to fix
You won't have button support I don't think 🤔 I'll try when I get home with my personal and see if there is an issue I need to fix
🙏 🙏 🙏 🙏 🙏
@vivinano do i need to install this i havent touched it
still works for me So unsure what is going on on your end atleast
still works for me So unsure what is going on on your end atleast i configered it like that guild slash is is basically server id right? and slash id is basically channel id correct?
uh could you name it better ? all these short hand terms are confusing me.
uh could you name it better ? all these short hand terms are confusing me.
basically what i named channel 1 different server (1) is but a channel of a server 1 and channel 1 different server (2 ) is a channel of server 2
as long as it the same match and the 1st server has slash commands enabled
as long as it the same match and the 1st server has slash commands enabled
yea it has slash enabled i think they do match i cant see any errors in my settings files so i dont even know if i am doing anything wrong
let get this correct then slash id = channel id slash guild id = server id of the server in which the channel resides in right?
Yes I think that what it is
Sent from my iPhone
On Aug 31, 2022, at 9:53 PM, CriticalMomento @.***> wrote:
let get this correct then slash id = channel id slash guild id = server id of the server in which the channel resides in right?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Yes I think that what it is … Sent from my iPhone On Aug 31, 2022, at 9:53 PM, CriticalMomento @.***> wrote: let get this correct then slash id = channel id slash guild id = server id of the server in which the channel resides in right? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
yep idk what the problem is then
well the error says it has something do with this ( your code ^ ) gateway ^ error ^
only way you will get unbound error is that your servers do not have the slash commands enabled hence it has nothing to query and pull data from
the original way for getting "slashget" was commented out due to discum error but it was recently fixed so you could go back for the originally method instead of my workaround
and all sniping including button presses for claims are here
only way you will get unbound error is that your servers do not have the slash commands enabled hence it has nothing to query and pull data from
the original way for getting "slashget" was commented out due to discum error but it was recently fixed so you could go back for the originally method instead of my workaround
and all sniping including button presses for claims are here
however slash cmds are enabled....
@vivinano by previous workaround you mean this?
originally it was only s.get(wa) for example but due to the library only bringing back the 1st entry nothing happened so I had to change my code to go thru each entry manually after my pull request was approved you could go back to the way with s.get() or use the work around with the for loop
originally it was only s.get(wa) for example but due to the library only bringing back the 1st entry nothing happened so I had to change my code to go thru each entry manually after my pull request was approved you could go back to the way with s.get() or use the work around with the for loop
uhhh um i dont know python so i am totally lost on what to do
Which are you trying to roll Wg , hg ?
Which are you trying to roll Wg , hg ?
wg or wa
And when you type in /wg you get a whole list of option right ?
Sent from my iPhone
On Sep 2, 2022, at 6:17 AM, CriticalMomento @.***> wrote:
Which are you trying to roll Wg , hg ?
wg
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
And when you type in /wg you get a whole list of option right ? … Sent from my iPhone On Sep 2, 2022, at 6:17 AM, CriticalMomento @.***> wrote: Which are you trying to roll Wg , hg ? wg — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
yes
At this point you might have to trouble shoot the issue at the code level specifically what is being slashget being set do and if it's not then trying to let me know what the issue is or trying to fix it yourself
aaa sounds like something which i can't do... oh well i will still notify you if i get it working or get another error
@vivinano btw i see ppl reacting on kakera faster than me i saw some previous threads which said to remove the .5 wait in mudae.py code and i did that and yet ppl still do it faster than me i have it on 0 btw
Depends is the kakera on button sniping also ?
Sent from my iPhone
On Sep 8, 2022, at 12:29 PM, CriticalMomento @.***> wrote:
@vivinano btw i see ppl reacting on kakera faster than me i saw some previous threads which said to remove the .5 wait in mudae.py code and i did that and yet ppl still do it faster than me i have it on 0 btw
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Depends is the kakera on button sniping also ? … Sent from my iPhone On Sep 8, 2022, at 12:29 PM, CriticalMomento @.***> wrote: @vivinano btw i see ppl reacting on kakera faster than me i saw some previous threads which said to remove the .5 wait in mudae.py code and i did that and yet ppl still do it faster than me i have it on 0 btw — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
nah its emoji reacting like this
only way you will get unbound error is that your servers do not have the slash commands enabled hence it has nothing to query and pull data from
the original way for getting "slashget" was commented out due to discum error but it was recently fixed so you could go back for the originally method instead of my workaround
and all sniping including button presses for claims are here
if i use slashget = s.get([roll_prefix])
, i get this error
if i use
for sli in range(len(s.commands.get("options"))):
if s.commands.get("options")[sli].get("name") == roll_prefix:
slashget = s.commands.get("options")[sli]
this happen because nothing is assign to slashget
ps. i updated discum to 1.4.1 (lasted one)
i think i know problem now, it because slashCmds = resp.parsed.auto()['application_commands']
only get first 100 slash cmd.
so if my server have other bot (many bots) it will break.
then what should i do to get more than first 100 slash cmd?
Edit:
ok, i fix it.
just change slashCmds = resp.parsed.auto()['application_commands']
to
slashCmds = bot.getSlashCommands("432610292342587392").json()
and use
slashget = s.get([roll_prefix])
Edit2: in some server where it have too many bots, i have this error, any idea for fix?
Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x0000018983A76FC0>>
Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Python\Python310\site-packages\discum\gateway\gateway.py", line 299, in _response_loop
func(resp)
File "D:\ETC\MudaeAuto\Acc0\Bot2v4.py", line 916, in on_message
bot.gateway.request.searchSlashCommands(str(ghids[0]), limit=100, command_ids=[])
IndexError: list index out of range
You could see if application commands takes another param and limit the search parse
Sent from my iPhone
On Sep 13, 2022, at 6:28 AM, HentaiRyuu @.***> wrote:
only way you will get unbound error is that your servers do not have the slash commands enabled hence it has nothing to query and pull data from
the original way for getting "slashget" was commented out due to discum error but it was recently fixed so you could go back for the originally method instead of my workaround
and all sniping including button presses for claims are here
if i use slashget = s.get([roll_prefix]), i get this error
if i use
for sli in range(len(s.commands.get("options"))): if s.commands.get("options")[sli].get("name") == roll_prefix: slashget = s.commands.get("options")[sli] this happen because nothing is assign to slashget
ps. i updated discum to 1.4.1 (lasted one)
i think i know problem now, it because slashCmds = resp.parsed.auto()['application_commands'] only get first 100 slash cmd. so if my server have other bot (many bots) it will break. then what should i do to get more than first 100 slash cmd?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
They are the slash variables as it’s a whole discord interaction instead of just doing a reaction But you don’t have to set slash rolling to true but the variables must be set
Sent from my iPhone
On Aug 29, 2022, at 6:26 AM, CriticalMomento @.***> wrote:
No It still works with button claiming just need configuration … Sent from my iPhone On Aug 28, 2022, at 4:18 AM, CriticalMomento @.> wrote: Slashget wasn’t getting assigned properly though discum as you see that I made a pull request with changes on the latest discum repo to fix it so I made 2 code variations I think of slashget for the code prefix and after the fix so try to print out the slashget variable and see if it is empty … Sent from my iPhone On Aug 28, 2022, at 1:55 AM, CriticalMomento @.> wrote: i checked some closed tickets and saw 1 guy managed to solve it by installing discum through git i tried it but — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. soo i just have to wait for now? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
and what are those config that i need to do?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
Slash rolling doesn’t have the be enabled but also it could be uh the discum needed to be updated
I put a pull request that was recently accepted by the discum dev so you will have to update that gateway.py
Sent from my iPhone
On Aug 31, 2022, at 9:37 PM, CriticalMomento @.***> wrote:
as long as it the same match and the 1st server has slash commands enabled
yea it has slash enabled i think they do match i cant see any errors in my settings files so i dont even know if i am doing anything wrong
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
will it claim if reaction is like this?