All collected Discord error codes, categorized by type (first 2 digits).
Code | Message |
---|---|
0 | General error (such as a malformed request body, amongst other things) |
import os | |
import sys | |
import ctypes | |
import _winreg | |
def is_running_as_admin(): | |
''' | |
Checks if the script is running with administrative privileges. | |
Returns True if is running as admin, False otherwise. | |
''' |