Skip to content

Instantly share code, notes, and snippets.

@NixonXC
Last active September 18, 2021 09:10
Show Gist options
  • Save NixonXC/561f50ff48a17f64a40ef49ecc282ddf to your computer and use it in GitHub Desktop.
Save NixonXC/561f50ff48a17f64a40ef49ecc282ddf to your computer and use it in GitHub Desktop.
Importing discord
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix='!', case_insensitive=True)
@bot.event
async def on_ready():
print(f"{client.user} is ALIVE!!")
@bot.command()
async def hello(ctx):
await ctx.send("Howdy!")
bot.run("Your Bot's Token")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment