Closed kxi0 closed 1 year ago
You forgot add self parameter to on_message method.
This library does not have intents. Therefore, you are not using this library. Chances are you have multiple libraries that use the same namespace installed, or you are not using your venv(s) properly.
Also want to mention that you cannot use requests
with discord.py-self as it is blocking.
Summary
Gives intents error
Reproduction Steps
Grabbing msgs and sending them to a webhook
Code
Expected Results
Send the message to the webhook
Actual Results
File "c:\Users\x2\Downloads\webhook.py", line 17, in
client = ppclient()
TypeError: init() missing 1 required keyword-only argument: 'intents'
System Information
Checklist
Additional Information
No response