silence jason

This commit is contained in:
Luke Robles 2024-04-10 14:28:48 -07:00
parent f9de305997
commit e81af5db3a

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 "