mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 14:24:08 +00:00
Markov chain works with /markov command
This commit is contained in:
@ -168,7 +168,7 @@ class DataBase:
|
||||
def get_random_message(self):
|
||||
sql = "SELECT text FROM xxx_message ORDER BY RANDOM() LIMIT 1"
|
||||
result = self.execute(sql)
|
||||
return(result)
|
||||
return(result[0][0])
|
||||
|
||||
def here(self, user_id, conf_id):
|
||||
sql = """
|
||||
|
Reference in New Issue
Block a user