From 73de4f6b4706e9cdeb06c53b0b11492986a9c6c6 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 10 Apr 2024 14:28:48 -0700 Subject: [PATCH] silence jason --- app/bot.py | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/app/bot.py b/app/bot.py index 2fbfc4e6..0613c961 100755 --- a/app/bot.py +++ b/app/bot.py @@ -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 "