<reponame>AwesomestCode/DiscordBotPython
import discord

msgtable = {
		"hi": "Hello, world!",
		"ping": "Pong!",
		"about": "[Your about message here]",
		"customcmd": "Hey, why aren't you customizing me?"
		}


import discord

class MyClient(discord.Client):
	async def on_ready(self):
		print('Logged on as', self.user)

	async def on_message(self, message):
		# don't respond to ourselves
		if message.author == self.user:
			return
		if message.content[0] == '!':
			await message.channel.send(msgtable[message.content[1:]])

client = MyClient()
client.run('PUT CLIENT TOKEN HERE')

import discord

msgtable = {
		"hi": "Hello, world!",
		"ping": "Pong!",
		"about": "[Your about message here]",
		"customcmd": "Hey, why aren't you customizing me?"
		}


import discord

class MyClient(discord.Client):
	async def on_ready(self):
		print('Logged on as', self.user)

	async def on_message(self, message):
		# don't respond to ourselves
		if message.author == self.user:
			return
		if message.content[0] == '!':
			await message.channel.send(msgtable[message.content[1:]])

client = MyClient()
client.run('PUT CLIENT TOKEN HERE')
# don't respond to ourselves