⚠️Common errors + fixes
Microsoft Visual C++ 14.0 required

Go to https://visualstudio.microsoft.com/downloads/?q=build+tools and download Visual Studio 2022. Install it and open the app. When the program opens, in the main menu you need to select the item as they are displayed on the screenshot below. The most important part is Visual C++ build tools at the top left. Check all the required boxes and click Install.

Wait for the installation process and then restart your computer. Done.
Aiodns needs a SelectorEventLoop

The Aiodns problem has been fixed, follow the instructions below.
Download the new version from GitHub
Open the console in the bot's repository and enter the following:
python -m venv venvvenv\Scripts\activate pip install -r requirements.txtRestart the PC (IMPORTANT!)
venv\Scripts\activatepython main.pySSL Certificate Verify Failed
ERROR: Cannot connect to host some.host:443 ssl:True [SSLCertVerificationError: (5, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1028)')]
SOLUTION FOR WINDOWS
Open powershell and paste these commands:
certutil -generateSSTFromWU roots.sstcertutil -addstore -f root roots.sstSOLUTION FOR LINUX
Open terminal and paste these commands:
sudo apt updatesudo apt install -y openssl ca-certificateswget -O roots.pem https://curl.se/ca/cacert.pemsudo cp roots.pem /usr/local/share/ca-certificates/roots.crtsudo update-ca-certificatesToo many open files
[Errno 24] Too many open files: ... Open powershell and paste these commands:
ulimit -n 1000000Open file with this command:
nano /etc/sysctl.confCopy and paste there this code
fs.inotify.max_user_instances=25650
fs.file-max = 9223372036854775807
net.core.rmem_max=2500000
net.core.rmem_max=2500000
net.core.rmem_max=67108864
fs.inotify.max_user_watches = 524288
kernel.pid_max=65536
net.ipv4.tcp_fastopen=3
vm.max_map_count = 1000000
net.core.rmem_default = 134217728
net.core.rmem_max = 134217728
net.core.wmem_default = 134217728
net.core.wmem_max = 134217728
net.ipv4.conf.all.accept_redirects=0
net.ipv4.conf.all.secure_redirects=0
net.ipv4.conf.all.send_redirects=0
net.ipv4.tcp_fin_timeout=7
net.ipv4.icmp_ignore_bogus_error_responses=1Open file with this command:
nano /etc/systemd/system.conf
Copy and paste there this code
DefaultLimitNOFILE=1000000Last updated