Created
September 4, 2021 13:43
-
-
Save InspectorGadget/8a03eb73c4277c1669e110a7ecadd580 to your computer and use it in GitHub Desktop.
Boilerplate for Python Discord Bot
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
from discord.ext import commands | |
client = commands.Bot( | |
command_prefix='!', | |
help_command=None | |
) | |
@client.command() | |
async def hello(ctx): | |
await ctx.send('Hello!') | |
client.run( | |
'XXX_DISCORD_BOT_TOKEN_XXX' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment