import gpt_3 
from twitchio.ext import commands

bot = commands.Bot(
    irc_token = "YOUR_TOKEN_HERE",
    client_id = 123456,
    nick = "YOUR_BOT_NAME_HERE",
    prefix = "!",
    initial_channels = ["YOUR_CHANNEL_NAME_HERE"]
)

@bot.event
async def event_ready():
    print('Bot is ready!')

@bot.command(name='hello')
async def hello(ctx):
    await ctx.send(f'Hello {ctx.author.name}!')

@bot.event
async def event_message(ctx):
    if ctx.author.name == 'YOUR_BOT_NAME_HERE':
        return
    response = gpt_3.interact(ctx.content, ctx.channel)
    if response:
        await ctx.send(response)

bot.run()
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence