1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-25 06:37:29 +00:00

Merge branch 'dev'

This commit is contained in:
Myned 2017-12-07 15:56:08 -05:00
commit 9627a634fb
3 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# Modumind # Modumind
Experimental Discord bot Discord booru bot with a side of management and tasking
Credits: Credits:
Rapptz/discord.py Rapptz/discord.py

View file

@ -17,3 +17,9 @@ class Post:
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
for task in u.tasks['periodic_gpm']:
self.bot.loop.create_task()
async def _check_posts(self, user, channel):
pass

View file

@ -68,7 +68,7 @@ def dump(obj, filename, *, json=False):
settings = setdefault('misc/settings.pkl', {'del_ctx': [], 'prefixes': {}}) settings = setdefault('misc/settings.pkl', {'del_ctx': [], 'prefixes': {}})
tasks = setdefault('cogs/tasks.pkl', {'auto_del': [], 'auto_rev': []}) tasks = setdefault('cogs/tasks.pkl', {'auto_del': [], 'auto_rev': [], 'periodic_gpm': []})
temp = setdefault('temp/temp.pkl', {'startup': ()}) temp = setdefault('temp/temp.pkl', {'startup': ()})
RATE_LIMIT = 2.2 RATE_LIMIT = 2.2