#client.load_extension('cogs.info') AttributeError 'Client' object has no attribute 'load_extension'

1 messages · Page 1 of 1 (latest)

unborn grove
#

Use discord.Bot instead of discord.Client

quartz sand
#

or commands.Bot

quartz sand
#

eh

#

you try a slash command with a prefix....

#

change discord.Bot to commands.Bot....

#

?

#

you mean slash commands?

#

from discord.commands import slash_command

#

yes

#

you should add case_intensitive=True to the commands.Bot

#

so you can use $HeLLo

#

and other stuff

#

you can get it with thison_command_error

#

help_command=None in the commands.Bot to create a custome one

blazing granite