Add responseds for timed out people for llm
This commit is contained in:
parent
3ecebdb27f
commit
c4aaf4f439
@ -158,7 +158,12 @@ async def on_message(ctx):
|
|||||||
"http://dragon-bot-json.dragon-bot.svc.cluster.local/rules.json"
|
"http://dragon-bot-json.dragon-bot.svc.cluster.local/rules.json"
|
||||||
).json()["disallowed_users"]
|
).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
|
return
|
||||||
|
|
||||||
url = "http://192.168.1.137:1337/v1/chat/completions"
|
url = "http://192.168.1.137:1337/v1/chat/completions"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user