Skip to content

AttributeError:"client" object has no attribute "send message" #1

@PenguinAndPigeon

Description

@PenguinAndPigeon

Current line 73 code
await client.send_message(message.channel, msg)
causes issues as object seems to no longer possess send_message attribute

the fix that works for me atm
await message.channel.send(msg)

As i am not well-versed with python, it may be not efficent solution, but solution nonetheless

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