-
-
Save dank-tagg/42349435b675573094c5891ce7605f0f to your computer and use it in GitHub Desktop.
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
# Instead of using discord.Client() | |
import discord | |
from discord.ext import commands | |
bot = commands.Bot(command_prefix="lb! ") | |
# simple bot command example | |
@bot.command() | |
async def startlife(ctx): # ctx being the context the command is used in. | |
pass | |
bot.run("token") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment