woohyunjng / discord.py-components

An unofficial third-party library of discord.py for discord components.
https://devkiki7000.gitbook.io/discord-components/
MIT License
128 stars 43 forks source link

[Bug] Getting an error when trying to use buttons on the default example #16

Closed lokisolos closed 3 years ago

lokisolos commented 3 years ago

I was trying to use the example for the buttons, but i'm getting the same error over and over again

"Command raised an exception: TypeError: send() got an unexpected keyword argument 'components'"

i'm doing the exact same thing as in the example, am i using something incorrectly?

kiki7000 commented 3 years ago

image Did you did this?

lokisolos commented 3 years ago

Ok, that fixed that error, but now i'm getting a new one

Command raised an exception: AttributeError: 'NoneType' object has no attribute 'request'
kiki7000 commented 3 years ago

Could you put DiscordComponents(bot) inside on_ready?