copy paste error

This commit is contained in:
Thomas Steen Rasmussen 2021-07-20 07:22:01 +02:00
parent 786e9d10bd
commit 8661c423fe

View file

@ -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
) )