I have seen many developers coding their python bots for Discord in 2 ways.
Some of them use:
if message.content.startswith("command"):
await message.channel.send("text")
And others (majority) use this method:
@client.command()
async def command(ctx):
response = "Text"
await ctx.send(response)
What is the difference between them two and which method is better/ more productive to use?