While developing a custom verification bot for one of my Discord servers I encountered a seemingly unfixable permission error. I am using the pycord rewrite fork (Pycord v2.3) and the exception I am encountering is: The issue is that even though I have invited my bot to my Discord server with administrative permissions it cannot edit/assign roles for applicable server
Tag: permission-denied
Python .exe PermissionError: [Errno 13] Permission denied
Here’s the code for my reprex: From this, I used auto-py-to-exe to build a one-directory .exe. Then I opened cmd as an administrator, navigated to the .exe’s folder and attempted to run the executable. Here’s the output: I am all out of ideas at this point, and I’d appreciate any thoughts. Answer I solved the issue. My antivirus was blocking