#how to fix it
1 messages · Page 1 of 1 (latest)
@fallow spear u there mate?
sry
thx guys
thats an error with your help command
can you send its code once again?
pretty much what the error says
colour should not be a string
color=0x000000
do that to fix it
Heads up @fallow spear!
We've deleted your bot's (yalo#7403) token because you've accidentially shared it.
Please regenerate it at https://discord.com/developers/applications/1031808573237379122/bot to be safe
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')```
how about you read the replies
idk am so bad eng
so why would we reply with the same thing again if you can't even read what is being said?
@fallow spear ^
now either attempt to fix it yourself or learn english. thats all i can do
or use google translate