#how to fix it

1 messages · Page 1 of 1 (latest)

vestal star
#

in your bot = commands.Bot() add help_command=None

#

also change ur token now

vestal star
#

@fallow spear u there mate?

fallow spear
#

sry

fallow spear
queen knoll
#

Hi

#

Help emm

fallow spear
#

i cant

vestal star
#

can you send its code once again?

hallow sleet
#

colour should not be a string

#

color=0x000000

do that to fix it

random wingBOT
fallow spear
#
from discord.ext import commands

description = """
An example bot to showcase the discord.ext.commands extension module.
There are a number of utility commands being showcased here.
"""

intents = discord.Intents.default()
intents.members = True
intents.message_content = True

bot = commands.Bot(
    command_prefix=commands.when_mentioned_or("!"),
    description=description,
    intents=intents,
    help_command=None
)

@bot.event
async def on_ready():
    print(f"Logged in as {bot.user} (ID: {bot.user.id})")
    print("------")

@bot.command()
async def send(ctx):
    print(ctx.channel)
    await ctx.channel.send('Hello')

@bot.command()
async def test(ctx, *, par):
    await ctx.channel.send("{0}".format(par))

@bot.command()
async def help_Bot(ctx):
    emBed = discord.Embed(title='Tutorial Bot Help', description='ALL available bot commads', color='0x000000')
    emBed.add_field(name = 'help', value='Get help commads', inline=False)
    emBed.add_field(name = 'test', value='Respond message that you`ve send', inline=False)
    emBed.add_field(name = 'send', value='Send hello message to user', inline=False)
    emBed.set_thumbnail(url='https://i.imgur.com/iYctNz2.png')
    await ctx.channel.send(embed=emBed)


bot.run('token')```
wide spoke
#

how about you read the replies

fallow spear
#

idk am so bad eng

wide spoke
#

so why would we reply with the same thing again if you can't even read what is being said?

hallow sleet
#

now either attempt to fix it yourself or learn english. thats all i can do

#

or use google translate