Untitled

 avatar
unknown
python
2 years ago
286 B
10
Indexable
import discord
from discord.ext import commands

bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())

@bot.event
async def on_ready():
    print("Logged in as {bot.user}")

@bot.command()
async def hello(ctx):
    await ctx.send("Hello")

bot.run('TOKEN')
Editor is loading...