Closed louis50171 closed 2 years ago
change line 35
bot = discum.Client(token=settings["token"],log={"console":False, "file":False})
to bot = discum.Client(token=settings["token"],log={"console":True, "file":False})
Well here my log, (i replaced my token with ??????)
============= RESTART: C:\Users\lolef\Desktop\Mudae\MudaeAutoBot.py ============
Retrieving Discord's build number...
Discord is currently on build number 154186
[35m [+] (<discum.start.login.Login->getXFingerprint) Get -> https://discord.com/api/v9/experiments[m
[32m [+] (<discum.start.login.Login->getXFingerprint) Response <- b'{"fingerprint": "1035094689981943828.2I1iGskXh52YeOkCy6IKWEunQhk", "assignments": [[4130837190, 0, 10, -1, 0], [2571931329, 1, 6, -1, 0], [1260103069, 0, 1, -1, 0], [2458926251, 1, 6, -1, 2], [4027800, 1, 6, -1, 3], [2063302207, 1, 1, -1, 0], [3316720711, 0, 1, -1, 1], [156590431, 0, 1, -1, 2], [2617218444, 4, 1, -1, 2], [3035674767, 0, 1, -1, 0], [261678880, 0, 1, -1, 0], [1609782151, 0, 1, -1, 2], [3354177721, 0, 1, -1, 0], [3643362751, 0, 1, -1, 0], [3753034466, 1, 2, -1, 0], [3012117409, 4, 1, -1, 0], [2854861606, 0, 1, -1, 1], [2416791266, 1, 1, -1, 0], [1913882179, 0, 1, -1, 2], [1567199723, 0, 1, -1, 1], [3615787841, 0, 1, -1, 0], [3997593347, 2, 1, -1, 4], [2544296633, 5, 1, -1, 0], [122196248, 2, 1, -1, 2], [2486591316, 0, 1, -1, 1], [2950595281, 2, 1, -1, 0], [3662016164, 3, 2, -1, 0], [2736193736, 0, 1, -1, 0], [2542634194, 0, 1, -1, 0], [1138665623, 0, 1, -1, 0], [3542498455, 0, 1, -1, 0], [1094004645, 0, 1, -1, 2], [3805175685, 0, 1, -1, 0], [3450899088, 1, 1, -1, 0], [3656796460, 3, 3, -1, 3], [334012295, 0, 1, -1, 0], [1685515200, 0, 18, -1, 0], [1748842958, 1, 1, -1, 0], [1067507480, 0, 1, -1, 0], [2140622532, 2, 1, -1, 5], [1308053712, 0, 1, -1, 0], [2519288568, 2, 1, -1, 0], [1814483290, 0, 1, -1, 0], [4221006726, 0, 1, -1, 0], [2866205130, 7, 2, -1, 1], [1037586255, 0, 0, -1, 0], [3910343238, 2, 1, -1, 1], [4084522269, 0, 1, -1, 0], [3061393440, 1, 1, -1, 0], [4156073260, 3, 2, -1, 0], [3482807542, 12, 2, -1, 7], [1398673921, 1, 1, -1, 0], [1312831343, 0, 2, -1, 0], [3557480712, 0, 1, -1, 0], [4239204703, 0, 1, -1, 0], [2682412013, 0, 1, -1, 0], [853403133, 4, 1, -1, 0], [2491005019, 4, 1, -1, 0], [3889077804, 2, 1, -1, 0], [4079214319, 2, 1, -1, 0], [2224597644, 0, 1, -1, 0], [381231361, 0, 1, -1, 3], [4285126928, 2, 1, -1, 4], [731344995, 2, 1, -1, 1], [275647339, 0, 1, -1, 2], [2147107212, 0, 1, -1, 2], [1687110464, 1, 1, -1, 0], [2556391943, 2, 1, -1, 0], [1095779154, 0, 1, -1, 4], [976159363, 0, 1, -1, 0], [567966749, 0, 1, -1, 1], [1398007839, 0, 1, -1, 2], [1034661306, 0, 1, -1, 0], [980555040, 0, 2, -1, 3], [1944696695, 0, 1, -1, 0], [828251710, 2, 1, -1, 1], [3124003316, 1, 1, -1, 0], [2676348506, 0, 1, -1, 0], [1062232174, 0, 0, -1, 1], [3182051840, 0, 1, -1, 0], [2514746297, 0, 1, -1, 0], [2898887059, 2, 3, -1, 0], [2988525176, 1, 1, -1, 0], [3576084512, 0, 1, -1, 0], [158340660, 1, 1, -1, 0], [1193758622, 0, 1, -1, 0], [1970416142, 0, 1, -1, 0], [1794874227, 1, 1, -1, 3], [102690720, 0, 2, -1, 3], [2804935202, 0, 1, -1, 0], [3656545377, 0, 1, -1, 0]]}'[m
[gateway] Connected to websocket.
[35m[gateway] > {'op': 2, 'd': {'token': '????????????', 'capabilities': 509, 'properties': {'os': 'Windows', 'browser': 'Chrome', 'device': '', 'system_locale': 'en-US', 'browser_user_agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36', 'browser_version': '99.0.4844', 'os_version': '10', 'referrer': '', 'referring_domain': '', 'referrer_current': '', 'referring_domain_current': '', 'release_channel': 'stable', 'client_build_number': 154186, 'client_event_source': None}, 'presence': {'status': 'online', 'since': 0, 'activities': [], 'afk': False}, 'compress': False, 'client_state': {'guild_hashes': {}, 'highest_last_message_id': '0', 'read_state_version': 0, 'user_guild_settings_version': -1, 'user_settings_version': -1}}}[m
[35m[gateway] > {'op': 4, 'd': {'guild_id': None, 'channel_id': None, 'self_mute': True, 'self_deaf': False, 'self_video': False}}[m
[32m[gateway] < {'t': None, 's': None, 'op': 10, 'd': {'heartbeat_interval': 41250, '_trace': ['["gateway-prd-us-east1-c-pgz0",{"micros":0.0}]']}}[m
[gateway] entering heartbeat
[33m[gateway] < ping/pong timed out[m
[gateway] websocket closed
[gateway] Connection Dropped. Retrying in 10 seconds.
[gateway] Connected to websocket.
[35m[gateway] > {'op': 2, 'd': {'token': '????????????', 'capabilities': 509, 'properties': {'os': 'Windows', 'browser': 'Chrome', 'device': '', 'system_locale': 'en-US', 'browser_user_agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36', 'browser_version': '99.0.4844', 'os_version': '10', 'referrer': '', 'referring_domain': '', 'referrer_current': '', 'referring_domain_current': '', 'release_channel': 'stable', 'client_build_number': 154186, 'client_event_source': None}, 'presence': {'status': 'online', 'since': 0, 'activities': [], 'afk': False}, 'compress': False, 'client_state': {'guild_hashes': {}, 'highest_last_message_id': '0', 'read_state_version': 0, 'user_guild_settings_version': -1, 'user_settings_version': -1}}}[m
[35m[gateway] > {'op': 4, 'd': {'guild_id': None, 'channel_id': None, 'self_mute': True, 'self_deaf': False, 'self_video': False}}[m
[32m[gateway] < {'t': None, 's': None, 'op': 10, 'd': {'heartbeat_interval': 41250, '_trace': ['["gateway-prd-us-east1-c-8m7n",{"micros":0.0}]']}}[m
[gateway] entering heartbeat
seems like you have an older version of discum if you install thru pip then you will get an older version
strange i'm using the lastest version 1.4.1
Well the log isn't very helpful as since you did change your token all that tells me is that you pinged the server and it timed out
i fixed it : for some reasons updating python to 3.11 and reinstalled discum (+ fixes) seems to make it work
hello i was using the bot but since a few it doesn't seems to work anymore The script launch and doesn't seem to run, it's stuck at :
============= RESTART: C:\Users\lolef\Desktop\Mudae\MudaeAutoBot.py ============