Untitled

mail@pastecode.io avatar
unknown
python
7 months ago
286 B
4
Indexable
Never
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')