more fix
This commit is contained in:
		
							parent
							
								
									a91a6f2951
								
							
						
					
					
						commit
						e2450d3615
					
				@ -14,13 +14,11 @@ class RecyclingPlant(Cog):
 | 
			
		||||
 | 
			
		||||
    def __init__(self, bot):
 | 
			
		||||
        self.bot = bot
 | 
			
		||||
 | 
			
		||||
        self.junk_path = bundled_data_path(self) / "junk.json"
 | 
			
		||||
 | 
			
		||||
        self.junk = None
 | 
			
		||||
 | 
			
		||||
    def load_junk(self):
 | 
			
		||||
        with self.junk_path.open() as json_data:
 | 
			
		||||
        junk_path = bundled_data_path(self) / "junk.json"
 | 
			
		||||
        with junk_path.open() as json_data:
 | 
			
		||||
            self.junk = json.load(json_data)
 | 
			
		||||
 | 
			
		||||
    @commands.command(aliases=["recycle"])
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user