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')
import discord