diff --git a/src/main/cogs/periodic.py b/src/main/cogs/periodic.py new file mode 100644 index 0000000..f1dcb1e --- /dev/null +++ b/src/main/cogs/periodic.py @@ -0,0 +1,18 @@ +import asyncio +import json +from datetime import datetime as dt + +import discord as d +from discord import errors as err +from discord.ext import commands as cmds +from discord.ext.commands import errors as errext + +from misc import exceptions as exc +from misc import checks +from utils import utils as u + + +class Post: + + def __init__(self, bot): + self.bot = bot diff --git a/src/main/utils/utils.py b/src/main/utils/utils.py index 12324a8..4a08229 100644 --- a/src/main/utils/utils.py +++ b/src/main/utils/utils.py @@ -30,7 +30,7 @@ try: except FileNotFoundError: with open('config.json', 'w') as outfile: jsn.dump({'client_id': 0, 'info_channel': 0, 'owner_id': 0, 'permissions': 126016, - 'playing': 'a game', 'prefix': [',', 'm,'], 'token': 'str'}, outfile, indent=4, sort_keys=True) + 'playing': 'a game', 'prefix': [',', 'm,'], 'selfbot': 'False', 'token': 'str'}, outfile, indent=4, sort_keys=True) raise FileNotFoundError( 'FILE NOT FOUND : config.json created with abstract values. Restart run.py with correct values')