copy paste error
This commit is contained in:
parent
786e9d10bd
commit
8661c423fe
|
@ -126,7 +126,6 @@ class Plugin(object):
|
||||||
|
|
||||||
# schedule a call of this function again in N seconds
|
# schedule a call of this function again in N seconds
|
||||||
asyncio.sleep(settings.IRCBOT_CHECK_MESSAGE_INTERVAL_SECONDS)
|
asyncio.sleep(settings.IRCBOT_CHECK_MESSAGE_INTERVAL_SECONDS)
|
||||||
self.bot.do_stuff()
|
|
||||||
self.bot.loop.call_later(
|
self.bot.loop.call_later(
|
||||||
settings.IRCBOT_CHECK_MESSAGE_INTERVAL_SECONDS, self.bot.do_stuff
|
settings.IRCBOT_CHECK_MESSAGE_INTERVAL_SECONDS, self.bot.do_stuff
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue