19 lines
466 B
Python
Executable File
19 lines
466 B
Python
Executable File
import discord
|
|
from discord.ext import commands
|
|
|
|
TOKEN = "NzU0NzIwNjcxNTE4Njg3MzIy.X142Zg.zf_YgrBO9qVbwZVvWVprCRaxzZI"
|
|
bot = commands.Bot(command_prefix='%')
|
|
@bot.event
|
|
async def on_ready():
|
|
print("ready ass")
|
|
|
|
@bot.event
|
|
async def on_message(message):
|
|
print(message.content)
|
|
with open("owned.txt") as f:
|
|
for line in f:
|
|
if line in message.content:
|
|
await message.channel.send("OWNED WHAT???????")
|
|
|
|
bot.run(TOKEN)
|