Compare commits

..

No commits in common. "00cdad31457da68a864b4505ea4116e22fcafbea" and "331e0e10a7d5b7305cfe6831e1d0e1d6a9f8e69d" have entirely different histories.

View File

@ -139,7 +139,7 @@ async def hello_command(ctx: commands.Context, name: str = "World") -> None:
"""Say hello to someone."""
await ctx.send(f"Hello, {name}!")
@bot.command(name="list-commands", description="List all available commands.")
@bot.command(name="help", description="List all available commands.")
async def help_command(ctx: commands.Context) -> None:
"""List all available commands."""
# Get all registered commands (both prefix and slash)
@ -205,7 +205,7 @@ async def on_message(message: discord.Message) -> None:
if message.author == bot.user:
return
# Ignore messages in DMs
# Check if the message is in a guild (server)
if message.guild is None:
return