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
import discord
from discord.ext.commands import bot
from discord.ext import commands
import asyncio
import time
import os
Client = discord.Client()
client = commands.Bot(command_prefix="!")
@client.event
async def on_ready():
print("Hello Dave")
@client.event
async def on_message(message):
message.content = message.content.upper()
if "HELP" in message.content:
os.system('help.py')
elif "JOKES" in message.content:
os.system('Jokes.py')
elif "TIME" in message.content:
os.system('Time.py')
else:
await client.send_message(message.channel, "beep boop")
client.run("NTAzNjU2MTc3NjgzMzk4Njc1.Dq5txg.WDWMGBovm-6VOTP86Nipck5YOcw")