#bot works only with slash commands and not prefix, why

1 messages · Page 1 of 1 (latest)

worldly parcel
#

Can ya show your bot code

muted willow
#

all of it?

muted willow
timid current
#

just the bot definition

muted willow
muted willow
timid current
#

do you have an on_message listener?

muted willow
#

yes

#

an event

timid current
#

use bot.listen() instead of bot.event

muted willow
#

ok

#

and it should be fixed?

timid current
#

yup

#

problem being that bot.event overwrites the builtin message event handler

#

which is what handles your commands

muted willow
timid current
#

no, @bot.listen()

#

need to call it

muted willow
#

ok

muted willow
timid current
#

also on the rest of them

#

but yeah