First you need to have python3, and pip installed. On Windows you just install the *.exe, or with the following command in PowerShell:
PS C:\Users\@User> winget install python
or with python3
.
On Linux you have to do the following:
~$ sudo apt install python3 python3-pip
To install the framework, follow these steps:
Required Py packages
datetime
discord
platform
time
discord.ext => commands
psutil
sys
os
messages
youtube_dl
discord => voice_client
googleapiclient.discovery
googleapiclient.discovery => build
discord.ext.commands => command
asyncio
info.
If you want to create a PS script (Windows PowerShell), then you need to do the following:
Run PowerShell as administrator and enter the following:
PS C:\WINDOWS\system32> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Change Execution Policy
Execution policy helps protect against untrusted scripts. If you change the execution policy, you may be exposed to the security risks described in the about_Execution_Policies help topic at https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy? [Y] Yes [A] Yes, all [N] No [K] No, none [H] Stop [?] Help (default is "N"): A
discord.py - HowTo Run - made by Julian (DC: Julius#1755)