discord.py is a modern, easy to use, feature-rich, async ready, far better than discord.js, API wrapper for Discord. People use this because its considered to be the easiest to learn/use.
Heres a simple bot example:
from discord.ext import commands
bot = commands.Bot(command_prefix=commands.when_mentioned_or("!"),intents=discord.Intents.default())
@bot.command()
async def hello(ctx):
await ctx.send("Hi!")
bot.run("TOKEN", bot=True, reconnect=True)
Wow, discord.py is easy to use with a object-oriented design, sane rate limiting, and optimized for speed and memory!
6👍 3👎