You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
449 B
22 lines
449 B
import sys
|
|
|
|
from .fifo import FIFO
|
|
|
|
# Applying fix from: https://github.com/Azure/azure-functions-python-worker/issues/640
|
|
# [Fix] Create a wrapper for importing imgres
|
|
from .date_trigger import *
|
|
from . import CustomDateTrigger
|
|
|
|
# [Fix] Register imgres into system modules
|
|
sys.modules["CustomDateTrigger"] = CustomDateTrigger
|
|
|
|
|
|
async def setup(bot):
|
|
cog = FIFO(bot)
|
|
bot.add_cog(cog)
|
|
await cog.initialize()
|
|
|
|
|
|
def teardown(bot):
|
|
pass
|