Need to use https://github.com/sherlock-project/sherlock somehow, will figure it out later

This commit is contained in:
bobloy 2020-07-27 13:40:55 -04:00
parent d482b4914b
commit 52a18a5b52
2 changed files with 28 additions and 0 deletions

5
sherlock/__init__.py Normal file
View File

@ -0,0 +1,5 @@
from .sherlock import Sherlock
def setup(bot):
bot.add_cog(Sherlock(bot))

23
sherlock/sherlock.py Normal file
View File

@ -0,0 +1,23 @@
from redbot.core import Config, commands
from redbot.core.bot import Red
class Sherlock(commands.Cog):
"""
Cog Description
Less important information about the cog
"""
def __init__(self, bot: Red):
super().__init__()
self.bot = bot
self.config = Config.get_conf(self, identifier=0, force_registration=True) # TODO: Identifier
default_guild = {}
self.config.register_guild(**default_guild)
@commands.command()
async def sherlock(self, ctx: commands.Context):
await ctx.send("Hello world")