parent
4f6232fb7d
commit
947cf08291
@ -0,0 +1,5 @@
|
|||||||
|
from .conquest import Conquest
|
||||||
|
|
||||||
|
|
||||||
|
def setup(bot):
|
||||||
|
bot.add_cog(Conquest(bot))
|
After Width: | Height: | Size: 345 KiB |
After Width: | Height: | Size: 413 KiB |
@ -0,0 +1,32 @@
|
|||||||
|
from redbot.core import Config, commands
|
||||||
|
from redbot.core.bot import Red
|
||||||
|
|
||||||
|
import numpy as np
|
||||||
|
from skimage.color import rgb2lab, rgb2gray, lab2rgb
|
||||||
|
from skimage.io import imread, imshow
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
|
||||||
|
class Conquest(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)
|
||||||
|
|
||||||
|
default_guild = {}
|
||||||
|
|
||||||
|
self.config.register_guild(**default_guild)
|
||||||
|
|
||||||
|
async def red_delete_data_for_user(self, **kwargs):
|
||||||
|
"""Nothing to delete"""
|
||||||
|
return
|
||||||
|
|
||||||
|
@commands.command()
|
||||||
|
async def conquest(self, ctx: commands.Context):
|
||||||
|
await ctx.send("Hello world")
|
Loading…
Reference in new issue