silence jason

This commit is contained in:
Luke Robles 2024-04-10 14:28:48 -07:00
parent 58f3b30d71
commit a2d103bff1

View File

@ -1,10 +1,11 @@
#!/usr/local/bin/python #!/usr/local/bin/python
from discord.ext import commands from discord.ext import commands
import core_utils
import discord import discord
import os import os
import random
import requests import requests
import requests_cache import requests_cache
import core_utils
intents = discord.Intents.default() intents = discord.Intents.default()
intents.message_content = True intents.message_content = True
@ -158,6 +159,26 @@ async def on_message(ctx):
if ctx.guild.id not in core_utils.my_guilds: if ctx.guild.id not in core_utils.my_guilds:
return 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" url = "http://192.168.1.52:1337/v1/chat/completions"
bot_prompt = ( bot_prompt = (
"You are a helpful assistant. You will answer questions conciesely " "You are a helpful assistant. You will answer questions conciesely "