2
client = commands.bot(command_prefix = '>', help_command=None)

This is the code where I get the error from. Even if I have a bot.py in discord.ext.commands and I did import commands from discord.ext

from discord.ext import commands
import discord

1 Answer 1

4

It's Bot with an uppercase B.

commands.Bot(...)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.