QuartzWarrior / Tip.cc-Autocollect

Your personal tip.cc auto-collector. Earn crypto effortlessly through Discord.
GNU Affero General Public License v3.0
16 stars 6 forks source link

Client.__init__() missing 1 required keyword-only argument: 'intents' #11

Closed mpol12 closed 5 months ago

mpol12 commented 5 months ago

Hi! I installed and run the script. I had an issue with "self tipping" (fixed in the latest update!!!) and I decided to try out another script. For that reason I run "pip install discord". After that Tip.cc-Autocollect has been giving me the following error...

Traceback (most recent call last): File "D:\Tip.cc-AutoCollector\tipcc_autocollect.py", line 246, in client = Client() ^^^^^^^^ TypeError: Client.init() missing 1 required keyword-only argument: 'intents'

I also tried uninstalling discord (pip install discord) but the error remained.

How do I fix this?

Thank you in advance! Mike

QuartzWarrior commented 5 months ago

Hi! the easiest way is to open tipcc_autocollect.py and change discord in lines 16 and 17 to selfcord then run the below command:

# Linux/macOS
python3 -m pip install git+https://github.com/dolfies/discord.py-self@renamed#egg=selfcord.py[voice]

# Windows
py -3 -m pip install git+https://github.com/dolfies/discord.py-self@renamed#egg=selfcord.py[voice]

This should fix the issue.

mpol12 commented 5 months ago

Good morning!! Thank you for the quick fix. I appreciate your support.