From ead5b92fb016c2b089e04ce8eefcc63c6b4f66d0 Mon Sep 17 00:00:00 2001 From: Luke R 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"