silence jason
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke R 2024-04-10 14:28:48 -07:00
parent 7ab1b3ab86
commit 346280fa50

View File

@ -1,10 +1,11 @@
#!/usr/local/bin/python
from discord.ext import commands
import core_utils
import discord
import os
import random
import requests
import requests_cache
import core_utils
intents = discord.Intents.default()
intents.message_content = True
@ -158,6 +159,26 @@ async def on_message(ctx):
if ctx.guild.id not in core_utils.my_guilds:
return
if ctx.author.id == 83012791983673344:
responses = [
"bro will you shut up",
"calm down",
"give it a break",
"I dont want to talk to you",
"no",
"shut up",
"stop it",
"thats enough out of you",
"thats not what this is for",
"wow so edgy",
"wow so quirky",
"wtf is your problem",
"you're a lot right now",
"you're on time out",
]
await ctx.reply(random.choice(responses))
return
url = "http://192.168.1.52:1337/v1/chat/completions"
bot_prompt = (
"You are a helpful assistant. You will answer questions conciesely "