#Extension with MessageCreate?

1 messages · Page 1 of 1 (latest)

brave oriole
#

I need to make an extension that uses an on_message_create function, but it doesn't seem to be supported?

Pylance: Type of parameter "event" must be a supertype of its class "MyExtension"

merry dawnBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

modest barn
#

What code have you tried?

#

Just from the pylance warning, my guess is that you'll need to add the self parameter since it'll be in a class

brave oriole
#

im tired