bugfix
This commit is contained in:
parent
11f9c1f80c
commit
8cc65f8cbb
|
@ -157,8 +157,8 @@ def pickMovie(bot, trigger):
|
|||
|
||||
@require_admin
|
||||
@commands('addmovie')
|
||||
@example('.addmovie Dr. Strangelove or: How I Learned to Stop Worrying and "
|
||||
"Love the Bomb')
|
||||
@example(".addmovie Dr. Strangelove or: How I Learned to Stop Worrying and "
|
||||
"Love the Bomb")
|
||||
def addMovie(bot, trigger):
|
||||
"""
|
||||
Adds the specified movie to the movie database.
|
||||
|
|
|
@ -50,7 +50,7 @@ def addTopic(bot, trigger):
|
|||
"""
|
||||
if len(trigger.args) < 2:
|
||||
return bot.msg("Please be providing a topic sir.")
|
||||
topic = trigger.args[1]
|
||||
topic = ' '.join(trigger.args[1:])
|
||||
bot.memory['topic_lock'].acquire()
|
||||
try:
|
||||
bot.db.execute("INSERT INTO topic (topic, added_by) VALUES(?,?)",
|
||||
|
|
Loading…
Reference in New Issue
Block a user