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
142 stars 46 forks source link

Please Help Me #249

Open Nicksw21 opened 1 year ago

Nicksw21 commented 1 year ago

Hello im new to python and the auto mudae bot so i know less than nothing. Im getting this error when i run the code: Traceback (most recent call last): File "C:\Users\nicos\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 10, in from discum.utils.slash import SlashCommander ModuleNotFoundError: No module named 'discum.utils'; 'discum' is not a package What can i do to fix it? Thank you

vivinano commented 1 year ago

Install discum library Sent from my iPhoneOn Jul 20, 2023, at 12:22 AM, Nicksw21 @.***> wrote: Hello im new to python and the mudae bot so i know less than nothing. Im getting this error when i run the code: Traceback (most recent call last): File "C:\Users\nicos\Desktop\MudaeAutoBot-4\MudaeAutoBot.py", line 10, in from discum.utils.slash import SlashCommander ModuleNotFoundError: No module named 'discum.utils'; 'discum' is not a package What can i do to fix it? Thank you

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Nicksw21 commented 1 year ago

Thats the problem i already have the library installed it just says that it cant find the module named 'discum.utils', and that discum is not a package. I did paste this "python -m pip install --user --upgrade git+https://github.com/Merubokkusu/Discord-S.C.U.M.git#egg=discum" in cmd so it should be there.

vivinano commented 1 year ago

Could be a multi instance of python issue Sent from my iPhoneOn Jul 20, 2023, at 12:04 PM, Nicksw21 @.***> wrote: Thats the problem i already have the library installed it just says that it cant find the module named 'discum.utils', and that discum is not a package. I did paste this "python -m pip install --user --upgrade git+https://github.com/Merubokkusu/Discord-S.C.U.M.git#egg=discum" so it should be there.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Nicksw21 commented 1 year ago

Sorry i dont really know much about python can you tell me what to do to try and fix it?

Nicksw21 commented 1 year ago

Should i try to make a virtual enviroment and try there or what do i do?

Nicksw21 commented 1 year ago

Nope tried it in a virtual enviroment within the MudaeAutoBot-main folder and its the same error Traceback (most recent call last): File "C:\Users\nicos\Desktop\MudaeAutoBot-main\MudaeAutoBot.py", line 10, in from discum.utils.slash import SlashCommander ModuleNotFoundError: No module named 'discum.utils'; 'discum' is not a package i installed discum again in that enviroment and executed the MudaeAutoBot.py but nothing. Same error (discum version 1.4.1)

vivinano commented 1 year ago

Windows 10 just has issues with installation of python it wants to install the windows store version and not the stand alone one which then causes issues Sent from my iPhoneOn Jul 20, 2023, at 12:28 PM, Nicksw21 @.***> wrote: Nope tried it in a virtual enviroment within the MudaeAutoBot-main folder and its the same error Traceback (most recent call last): File "C:\Users\nicos\Desktop\MudaeAutoBot-main\MudaeAutoBot.py", line 10, in from discum.utils.slash import SlashCommander ModuleNotFoundError: No module named 'discum.utils'; 'discum' is not a package i installed discum again in that enviroment and executed the MudaeAutoBot.py but nothing. Same error

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Nicksw21 commented 1 year ago

So what should i do?

vivinano commented 1 year ago

determine if you have 2 instances of python you can use programs like search everything and see if that is the case

Nicksw21 commented 1 year ago

image I used search everything and got this. I dont know how to recognise 2 instances

vivinano commented 1 year ago

If you open idle and run import discum what does it do Sent from my iPhoneOn Jul 20, 2023, at 1:35 PM, Nicksw21 @.***> wrote:

I used search everything and got this. I dont know how to recognise 2 instances

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Nicksw21 commented 1 year ago

it just says: = RESTART: C:/Users/nicos/AppData/Local/Programs/Python/Python311/discumtest.py also i do have two different python versions the microsoft one and the standalone: image

vivinano commented 1 year ago

Feel like a test version of discum was installed then it seems I’m not seeing the error or your windows version so I’m unsure Sent from my iPhoneOn Jul 20, 2023, at 1:51 PM, Nicksw21 @.***> wrote: it says: = RESTART: C:/Users/nicos/AppData/Local/Programs/Python/Python311/discumtest.py

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Nicksw21 commented 1 year ago

this are the specifications of the discum i have installed image Also this is the error i get when i execute mudaeautobot.py image

Nicksw21 commented 1 year ago

Should i try uninstalling everything (python and discum) and installing the recommended versions python 3.7 and discum 1.3?

vivinano commented 1 year ago

These are the version I’m using but it might not work forever one Sent from my iPhoneOn Jul 20, 2023, at 3:09 PM, Nicksw21 @.***> wrote: Should i try uninstalling everything (python and discum) and installing the recommended versions python 3.7 and discum 1.3?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Nicksw21 commented 1 year ago

Alright ill try that and let you know what happens

Nicksw21 commented 1 year ago

Okay so i made some progress, the old error no longer appears instead a new one happens: image this happens when i execute the MudaeAutoBot.py script with python i already configured my settings and token, all that stuff. Any clue what it is?

Nicksw21 commented 1 year ago

Here are my settings if they help: { "token":"token removed for security lol imagine like its here", "channel_ids":[ 992894625100611604 ], "slash_ids":[ 992894625100611604 ], "slash_guild_ids":[ 992894625100611604 ], "claim_delay":1, "kak_delay":1, "use_emoji":"<:keqing_love:795077041761288214>", "roll_this":"wa", "rolling":"True", "slash_rolling":"True", "pkmrolling":"True", "series_list":[ "Megumin" ], "namelist":[ "Megumin", "Mai Sakurajima", "Nezuko Kamado", "Rias Gremory", "Saber", "Mikasa Ackerman", "Hatsune Miku", "Power", "Albedo", "Miku Nakano", "Nami", ], "emoji_list":[ "kakera", "kakeraY", "kakeraO", "kakeraR", "kakeraW", "kakeraL" ], "soulemoji_list":[ "kakeraO", "kakeraR", "KakeraW", "KakeraL" ], "min_kak":500, "Last_True":"True", "last_claim_min": 61, "min_kak_last_min": 10 }

vivinano commented 1 year ago

You got an extra comma somewhere is a validator on your json file Sent from my iPhoneOn Jul 20, 2023, at 5:26 PM, Nicksw21 @.***> wrote: Here are my settings if they help: { "token":"token removed for security lol imagine like its here", "channel_ids":[ 992894625100611604 ], "slash_ids":[ 992894625100611604 ], "slash_guild_ids":[ 992894625100611604 ], "claim_delay":1, "kak_delay":1, "use_emoji":"<:keqing_love:795077041761288214>", "roll_this":"wa", "rolling":"True", "slash_rolling":"True", "pkmrolling":"True", "series_list":[ "Megumin" ], "namelist":[ "Megumin", "Mai Sakurajima", "Nezuko Kamado", "Rias Gremory", "Saber", "Mikasa Ackerman", "Hatsune Miku", "Power", "Albedo", "Miku Nakano", "Nami", ], "emoji_list":[ "kakera", "kakeraY", "kakeraO", "kakeraR", "kakeraW", "kakeraL" ], "soulemoji_list":[ "kakeraO", "kakeraR", "KakeraW", "KakeraL" ], "min_kak":500, "Last_True":"True", "last_claim_min": 61, "min_kak_last_min": 10 }

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Nicksw21 commented 1 year ago

Ok so i fixed that but now i get this: image

vivinano commented 1 year ago

Pushed a merge apprently mudae added a new variable in the settings list

Nicksw21 commented 1 year ago

ill update the file, try it and let you know what happens.

Nicksw21 commented 1 year ago

Ok works perfectly now, just one question what should i put in "series_list":[ if i dont want it to roll any series. Because i left it empty and its just claiming anything that is not listed i just want the bot to snipe the characters i wrote in "namelist":[

JuliaYuki commented 1 year ago

just put some random characters

"series_list": ["¶"],

Nicksw21 commented 1 year ago

alr

Nicksw21 commented 1 year ago

ill put that one

JuliaYuki commented 1 year ago

That work for me ;)

Nicksw21 commented 1 year ago

thank you very very much for your help, and sorry for bothering you so much!

Nicksw21 commented 1 year ago

Also one more question in "min_kak" if i put 500 it will snipe any character with 500+ regardless of the restrictions i put right?

JuliaYuki commented 1 year ago

yup, will claim any 500+ character and if you have a -500kak character in the "namelist", it will claim too

Nicksw21 commented 1 year ago

Thank you!!

Nicksw21 commented 1 year ago

Will abuse this

JuliaYuki commented 1 year ago

be happy xD

Nicksw21 commented 1 year ago

I put the ["¶"] in series list and its still sniping anything it finds. What can i put there to disable series list or something? Also after like 2 rolls it starts usgin $w non stop forever even tho i dont have rolls left is it my settings? ill leave them here just in case: { "token":"token", "channel_ids":[ 992894625100611604 ], "slash_ids":[ 992894625100611604 ], "slash_guild_ids":[ 992894625100611604 ], "claim_delay":1, "kak_delay":1, "use_emoji":"<:keqing_love:795077041761288214>", "roll_this":"w", "rolling":"True", "slash_rolling":"True", "pkmrolling":"True", "series_list":[ "°|°|+}" ], "namelist":[ "Megumin", "Mai Sakurajima", "Nezuko Kamado", "Rias Gremory", "Saber", "Mikasa Ackerman", "Hatsune Miku", "Power", "Albedo", "Miku Nakano", "Nami" ], "emoji_list":[ "kakera", "kakeraY", "kakeraO", "kakeraR", "kakeraW", "kakeraL" ], "soulemoji_list":[ "kakeraO", "kakeraR", "KakeraW", "KakeraL" ], "min_kak":400, "Last_True":"False", "last_claim_min": 61, "min_kak_last_min": 10 }

JuliaYuki commented 1 year ago

this is strange as soon as I put this character it stopped claiming any character.

"claim_delay": 0, "kak_delay": 0, "use_emoji":"<:keqing_love:795077041761288214>", "roll_this": "ma", "rolling": "False", "slash_rolling": "False", "pkmrolling": "False", "series_list": ["¶"], "namelist": [ "Fubuki", "Mirko", "Reze", "Toph Beifong", "Azula", "Aang", "Sokka", "Katara", "Korra", "Kyoshi", "Luz Noceda", "Amity Blight", "Kobayashi", "Portgas D. Ace", "Ai Hoshino", "Yuu Nishinoya", "Loid Forger", "Stocking Anarchy", "Kei Tsukishima", "Tony Tony Chopper", "Biribiri", "Touji Fushiguro", "Kenma Kozume", "Toge Inumaki", "Chuuya Nakahara", "Raven", "Ymir", "Maki Oze", "Crona", "Tooru Oikawa", "Spider-Gwen (Gwen Stacy)", "Shanks", "Carrot", "Zuko", "Konoha's Yellow Flash", "Sabo", "Spider-Man (Miles Morales)", "The King of Curses", "Ai Hayasaka", "Mary Saotome" ], "emoji_list": [ "kakera", "kaguya", "kakeraG", "kakeraY", "kakeraO", "kakeraR", "kakeraW", "kakeraL" ], "soulemoji_list": ["kakeraO", "kakeraR", "kakeraW", "kakeraL"], "min_kak": 400, "Last_True": "False", "last_claim_min": 1, "min_kak_last_min": 10 }

JuliaYuki commented 1 year ago

I don't let the auto roll I think it's broken so I prefer to roll myself

Nicksw21 commented 1 year ago

i got 3 more questions, does the snipe work good for you? Also, can i use it on browser discord? (Instead of app) And last what does last minute feature do? What is it used for?

Nicksw21 commented 1 year ago

Do you recommend the claim delay and kakera delay on 0?

vivinano commented 5 months ago

last minute feature is there to attempt to claim whatever character to not waste a roll before roll refresh. and you can do a delay of 0 but then there could be desync issues where the bot would react but nothing will be claimed due to it being too fast to register

as for auto roll im thinking of just adding in a hard stop I think it not able to recieve the stop message but was wanting it to be more where you can set it and forget it