mirror of
https://github.com/Octech2722/jeevesbot.git
synced 2026-02-04 02:46:37 -06:00
laid first brick
This commit is contained in:
parent
309ddcc650
commit
087482f003
10
bot.py
10
bot.py
@ -0,0 +1,10 @@
|
||||
import discord #imports the discord library
|
||||
from discord.ext import commands #imports the "commands" section from the discord library
|
||||
|
||||
client = commands.Bot(command_prefix= '.') #sets the prefix that the bot is looking for
|
||||
|
||||
@client.event #create a new event
|
||||
async def on_ready(): #when the discord bot is ready
|
||||
print('Bot is ready') #print "Bot is ready" to the terminal
|
||||
|
||||
client.run('ODE1MDQxMTM4MTc5ODMzODk4.YDmoNg.VUvAM6766gYkWJ8cwbaTsw9LvoE')
|
||||
Loading…
x
Reference in New Issue
Block a user