![]() ![]() ![]() Hi so when ever I try to run this code in visual code studio it won't work! The code itself has no problems what so ever, I have tried changing the token to see if that is the reason but it still isn't working. There was a problem preparing your codespace, please try again. GitHub - Reavert/VisualStudioDiscordRPC: Discord rich presence for Visual Studio with support for 20 versions. Discord chat in VSCode Generate a template Discord bot Open the Discord bot. Discord rich presence for Visual Studio with support for 20 versions. Raise RuntimeError('Event loop is closed') Discord Tools is a Visual Studio Code extension to code Discord bots more. Self._loop.call_soon(self._call_connection_lost, None)įile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soonįile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed ![]() run this to add the dependency we will use to interact with our bot client. Create an index.js file (Entry point for the js code) 3. Visual Studio Code: Press Ctrl + Shift + X Sublime Text: Press Ctrl + Shift + P and search for 'Install Package' (available via Package Control ) After that, search for the appropriate plugin and install it. Just hit enter until you get to the end of the terminal prompts, fill them in as you wish. Raise LoginFailure('Improper token has been passed.') from excĭ: Improper token has been passed.įile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in _del_įile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close TIP You can view plugins directly inside your editor. The above exception was the direct cause of the following exception:įile "c:\Users\infin\OneDrive\Desktop\Mythrix_Exclusive\main.py", line 16, in įile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 708, in runįile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 687, in runnerįile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 650, in startįile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 499, in loginĪwait _login(token.strip(), bot=bot)įile "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\http.py", line 295, in static_login File "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\http.py", line 291, in static_loginĭata = await self.request(Route('GET', "C:\Users\infin\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\http.py", line 245, in requestĭ: 401 Unauthorized (error code: 0): 401: Unauthorized ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |