Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #27 from czarniek/ben
Final merge for Ben
- Loading branch information
Showing
8 changed files
with
394 additions
and
127 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -15,7 +15,8 @@ | ||
|
||
|
||
names.json | ||
|
||
names.pck | ||
brain.pck | ||
|
||
### Linux ### | ||
*~ | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
import discord | ||
import webbrowser | ||
import nltk | ||
import random | ||
from discord.ext import commands | ||
import asyncio | ||
|
||
TOKEN = 'NTA3NjMyNDUwMzkwODUxNTg1.Drzsew.lVbUm7WKIPrV56q_9LegdqZuXZo' | ||
|
||
client = commands.Bot(command_prefix = '?') | ||
|
||
@client.event | ||
async def on_ready(): | ||
print('"BOT ON DUTY"') | ||
|
||
@client.command | ||
async def test(ctx): | ||
await ctx.send('I heard you! {0}'.format(ctx.author)) | ||
|
||
@client.event | ||
async def message(message): | ||
|
||
if message.author.id == client.user.id: | ||
return | ||
|
||
if message.content.lower().startswith ('!math'): | ||
|
||
|
||
|
||
|
||
client.run(TOKEN) | ||
import discord | ||
import webbrowser | ||
import nltk | ||
import random | ||
from discord.ext import commands | ||
import asyncio | ||
|
||
TOKEN = 'NTA3NjMyNDUwMzkwODUxNTg1.Drzsew.lVbUm7WKIPrV56q_9LegdqZuXZo' | ||
|
||
client = commands.Bot(command_prefix = '?') | ||
|
||
@client.event | ||
async def on_ready(): | ||
print('"BOT ON DUTY"') | ||
|
||
@client.command | ||
async def test(ctx): | ||
await ctx.send('I heard you! {0}'.format(ctx.author)) | ||
|
||
@client.event | ||
async def message(message): | ||
|
||
if message.author.id == client.user.id: | ||
return | ||
|
||
if message.content.lower().startswith ('!math'): | ||
|
||
|
||
|
||
|
||
client.run(TOKEN) |
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
Oops, something went wrong.