py -3 -m pip install -U discord.py
import discord from discord.ext import commands client=commands.Bot(command_prefix="your bot's prefix") @client.event async def on_ready(): print("I am online") @client.command() async def ping(ctx): await ctx.send(f"Pong! {client.latency}") client.run('Your Token')
pip install discord.py
import discord
# discord.py is the package you are looking for if you want to make a discord bot using python. # Install it by typing this in shell/bash: pip install discord.py