vivinano / MudaeAutoBot

python bot that uses strictly the **Discord API** to Roll,Claim,and Kakera Snipe in Mudae. 5/10/21 project converted over to discum library
Apache License 2.0
143 stars 47 forks source link

Key error "user" #203

Closed anwarlopoo closed 1 year ago

anwarlopoo commented 2 years ago

image

CriticalMomento commented 2 years ago

https://github.com/vivinano/MudaeAutoBot/issues/137 refer to this

anwarlopoo commented 2 years ago

but this is not clear

anwarlopoo commented 2 years ago

137 refer to this

can you explain me?

CriticalMomento commented 2 years ago

137 refer to this

can you explain me?

i am sure if u actually read all the comments there you would know what to do you can do it! just read!

anwarlopoo commented 2 years ago

137 refer to this

can you explain me?

i am sure if u actually read all the comments there you would know what to do you can do it! just read!

im not good at speaking english and im not good at coding

CriticalMomento commented 2 years ago

137 refer to this

can you explain me?

i am sure if u actually read all the comments there you would know what to do you can do it! just read!

im not good at speaking english and im not good at coding

Go to your discum package folder: /discum/gateway/types.py. Add some type under channelTypes. For instance: channelTypes = { 0: "guild_text", 1: "dm", 2: "guild_voice", 3: "group_dm", 4: "guild_category", 5: "guild_news", 6: "guild_store", 10: "guild_news_thread", 11: "guild_public_thread", 12: "guild_private_thread", 13: "guild_stage_voice", 14: "type_14", 15: "type_15" }

anwarlopoo commented 2 years ago

channelTypes = { 0: "guild_text", 1: "dm", 2: "guild_voice", 3: "group_dm", 4: "guild_category", 5: "guild_news", 6: "guild_store", 10: "guild_news_thread", 11: "guild_public_thread", 12: "guild_private_thread", 13: "guild_stage_voice", 14: "type_14", 15: "type_15" }

i need to replace all the file with only this?

CriticalMomento commented 2 years ago

channelTypes = { 0: "guild_text", 1: "dm", 2: "guild_voice", 3: "group_dm", 4: "guild_category", 5: "guild_news", 6: "guild_store", 10: "guild_news_thread", 11: "guild_public_thread", 12: "guild_private_thread", 13: "guild_stage_voice", 14: "type_14", 15: "type_15" }

i need to replace all the file with only this?

yes

anwarlopoo commented 2 years ago

channelTypes = { 0: "guild_text", 1: "dm", 2: "guild_voice", 3: "group_dm", 4: "guild_category", 5: "guild_news", 6: "guild_store", 10: "guild_news_thread", 11: "guild_public_thread", 12: "guild_private_thread", 13: "guild_stage_voice", 14: "type_14", 15: "type_15" }

image

anwarlopoo commented 2 years ago

image

CriticalMomento commented 2 years ago

channelTypes = { 0: "guild_text", 1: "dm", 2: "guild_voice", 3: "group_dm", 4: "guild_category", 5: "guild_news", 6: "guild_store", 10: "guild_news_thread", 11: "guild_public_thread", 12: "guild_private_thread", 13: "guild_stage_voice", 14: "type_14", 15: "type_15" }

image

image

oh man i worded it wrong you only need replace channel types

anwarlopoo commented 2 years ago

channelTypes = {

image

anwarlopoo commented 2 years ago

now its doing me this

anwarlopoo commented 2 years ago

image

CriticalMomento commented 2 years ago

channelTypes = {

image

do $settings in the channel you want the bot to run then run the bot it should create a empty txt file with channel id as its name in channel data folder fill up the txt file manually bold the stuff by adding **

anwarlopoo commented 2 years ago

image

CriticalMomento commented 2 years ago

image

you are using main version? with slash right? i am having the same issue with slash version altho v4 works fine it doesnt have button support

anwarlopoo commented 2 years ago

image

you are using main version? with slash right? i am having the same issue with slash version altho v4 works fine it doesnt have button support

can i have the v4 link?

anwarlopoo commented 2 years ago

nvm

anwarlopoo commented 2 years ago

image

anwarlopoo commented 2 years ago

i have this with the v4

CriticalMomento commented 2 years ago

i have this with the v4

check ur json.settings file correctly

CriticalMomento commented 2 years ago

actually its probably related to ur channel data txt files

anwarlopoo commented 2 years ago

[ image

](url)

CriticalMomento commented 2 years ago

[ image

](url)

something def wrong with ur json file

anwarlopoo commented 2 years ago

image

CriticalMomento commented 2 years ago

do you see any errors? visual studio code should help show

anwarlopoo commented 2 years ago

idk how to use it

do you see any errors? visual studio code should help show

anwarlopoo commented 2 years ago

can you give me your discord? it will be better

anwarlopoo commented 2 years ago

image

CriticalMomento commented 2 years ago

image

it seems like you need config your channel data file

vivinano commented 1 year ago

Closing issue as there trying to keep all key error users under 1 issue