Fix for mrelay, and blobs. (Spotted by Luckycharmmz/VA - ty for the fixing assistance!)

Orgmembers will nolonger get invited into the priv channel of their orgbot.. (on reboot only)
Added Nickname to !history (only useful for !history char_id>)
This commit is contained in:
2021-10-10 00:47:34 +02:00
parent 25eb552590
commit fc68950ade
8 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ class PollController:
"ORDER BY finished_at, id", [event_data.account.char_id])
if data:
row = data[0]
self.bot.send_private_message(event_data.char_info.char_id, self.show_poll_details_blob(row))
self.bot.send_private_message(event_data.packet.char_id, self.show_poll_details_blob(row))
def create_scheduled_jobs_for_polls(self):
data = self.db.query("SELECT * FROM poll WHERE is_finished != 1")