Skip to content

Error when running bot #7

@mr190e

Description

@mr190e

Hi, I got this error when running the bot:

root@phasecorex-red-discordbot1:/home/discord-telegram-bot# python bot.py                                                                                                                                                                                                                   
Traceback (most recent call last):                                                                                                                                                                                                                                                          
  File "/home/discord-telegram-bot/bot.py", line 35, in <module>                                                                                                                                                                                                                            
    bot = discord.Client()                                                                                                                                                                                                                                                                  
TypeError: __init__() missing 1 required keyword-only argument: 'intents' 

Any idea how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions