From c4aaf4f43922d9b14ba0d56e1cbf32df2255282b Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Thu, 18 Apr 2024 14:10:34 -0700 Subject: [PATCH] Add responseds for timed out people for llm --- app/bot.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/bot.py b/app/bot.py index fa8d4b20..e0bf93f5 100755 --- a/app/bot.py +++ b/app/bot.py @@ -158,7 +158,12 @@ async def on_message(ctx): "http://dragon-bot-json.dragon-bot.svc.cluster.local/rules.json" ).json()["disallowed_users"] ): - await ctx.delete() + responses = [ + "You cant do that right now", + "You cant use this feature right now", + "You're on time out from this", + ] + await ctx.respond(random.choice(responses)) return url = "http://192.168.1.137:1337/v1/chat/completions"