Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#Start of code taken from https://github.com/Rapptz/discord.py
import discord
from discord.ext.command import Bot
from discord.ext import commands
import asyncio #Imported different modules to use
import time
Client = discord.Client()
client = command.Bot(command_prefix = "!") #Added a prefix specfic to EUGENE
@client.event
async def on_ready():
print("We have logged in")
#End of code taken from https://github.com/Rapptz/discord.py
@client.event
async def on_message(message):
if message.content == "cookie":
await client.send_message(message.channel, ":cookie:")
client.run('NjM1NDY4MDIwNzM4OTQ5MTIw.XaxfwA.Pb6TxUeIHEhvAaiC7_M5VbecIH8')