dfrnoch / discord-sniper

🔰 Discord Nitro & Giveaway sniper! Made with Python
MIT License
167 stars 84 forks source link

Index out of range #69

Open Zhenyettta opened 3 months ago

Zhenyettta commented 3 months ago

Traceback (most recent call last): File "Main.py", line 422, in Init() File "Main.py", line 131, in Init Sniper.run(token, reconnect=True) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 938, in run asyncio.run(runner()) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\runners.py", line 43, in run return loop.run_until_complete(main) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 608, in run_until_complete return future.result() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 927, in runner await self.start(token, reconnect=reconnect) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 857, in start await self.login(token) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 698, in login data = await state.http.static_login(token.strip()) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 991, in static_login await self.startup() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\http.py", line 562, in startup self.super_properties, self.encoded_superproperties = sp, = await utils._get_info(session) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\utils.py", line 1446, in _get_info bn = await _get_build_number(session) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\utils.py", line 1474, in _get_build_number build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+).js').findall(login_page)[-2] + '.js' IndexError: list index out of range Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001D029D4F160> Traceback (most recent call last): File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in del self.close() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 711, in call_soon self._check_closed() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 504, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001D029D4F160> Traceback (most recent call last): File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in del self.close() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 711, in call_soon self._check_closed() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 504, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001D029D4F160> Traceback (most recent call last): File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in del self.close() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 711, in call_soon self._check_closed() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 504, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001D029D4F160> Traceback (most recent call last): File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in del self.close() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 711, in call_soon self._check_closed() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 504, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001D029D4F160> Traceback (most recent call last): File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 116, in del self.close() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 711, in call_soon self._check_closed() File "C:\Users\zheck\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 504, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed

:(

{ "token": "here is my token", "on_alt": false, "reedem_token": "token", "webhook_notification": true, "sound_notification": true, "webhook": "", "delay_enabled": true, "delay": 5, "nitro_sniper": true, "giveaway_sniper": true, "bot_list": [ 294882584201003009, 673918978178940951, 582537632991543307, 649604306596528138, 396464677032427530, 294882584201003009, 530082442967646230, 846403023622111252 ] }

i hopeputting token from this guide https://www.youtube.com/watch?v=YEgFvgg7ZPI works? using python 3.8