hacky way to make template work in two places

This commit is contained in:
Von Random 2024-11-22 14:02:18 +02:00
parent 9b3dd1906f
commit 8bbda6ae7a
2 changed files with 21 additions and 16 deletions

View file

@ -36,6 +36,7 @@ class Cron:
await asyncio.sleep(wait_seconds)
message = self.responder.get_response(tokens)
message = self.responder.api_match(message, '')
message = self.responder.rndm_tmpl(message, job['chat'])
await self.client.send_message(job['chat'], message)
return send_message