Initial files
This commit is contained in:
		
							parent
							
								
									4f6232fb7d
								
							
						
					
					
						commit
						947cf08291
					
				
							
								
								
									
										5
									
								
								conquest/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								conquest/__init__.py
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | from .conquest import Conquest | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | def setup(bot): | ||||||
|  |     bot.add_cog(Conquest(bot)) | ||||||
							
								
								
									
										
											BIN
										
									
								
								conquest/assets/ck2_blank.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								conquest/assets/ck2_blank.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 345 KiB | 
							
								
								
									
										
											BIN
										
									
								
								conquest/assets/ck2_numbered.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								conquest/assets/ck2_numbered.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 413 KiB | 
							
								
								
									
										32
									
								
								conquest/conquest.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								conquest/conquest.py
									
									
									
									
									
										Normal file
									
								
							| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 bobloy
						bobloy