Last active
September 18, 2021 09:10
-
-
Save NixonXC/561f50ff48a17f64a40ef49ecc282ddf to your computer and use it in GitHub Desktop.
Importing discord
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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