aboutsummaryrefslogtreecommitdiff
path: root/modules/markov.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-20 16:58:42 +0100
committerGravatar jesopo2019-09-20 16:58:42 +0100
commit72fca2eacbc70ed57f39c4e10ce65bd3cf36726a (patch)
treeb2511770961b8fc282d46bf738db747f58d39d10 /modules/markov.py
parent'self.database' -> 'self.bot.database' (diff)
signature
add missing ")" in CREATE query
Diffstat (limited to 'modules/markov.py')
-rw-r--r--modules/markov.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markov.py b/modules/markov.py
index 3dc7aca3..45385756 100644
--- a/modules/markov.py
+++ b/modules/markov.py
@@ -8,7 +8,7 @@ class Module(ModuleManager.BaseModule):
(channel_id INTEGER, first_word TEXT, second_word TEXT,
third_word TEXT, frequency INT,
FOREIGN KEY (channel_id) REFERENCES channels(channel_id),
- PRIMARY KEY (channel_id, first_word, second_word)""")
+ PRIMARY KEY (channel_id, first_word, second_word))""")
@utils.hook("received.message.channel")
def channel_message(self, event):