@@ -60,8 +60,8 @@ def __init__(self, bot):
6060 self .db = mclient .bowser .games
6161
6262 self .last_sync = {
63- 'part' : {'at' : None , 'count' : {'games' : 0 , 'releases' : 0 }, 'running' : False },
64- 'full' : {'at' : None , 'count' : {'games' : 0 , 'releases' : 0 }, 'running' : False },
63+ 'part' : {'at' : None , 'count' : {'games' : 0 , 'releases' : 0 }, 'running' : False },
64+ 'full' : {'at' : None , 'count' : {'games' : 0 , 'releases' : 0 }, 'running' : False },
6565 }
6666
6767 # TODO uncomment
@@ -457,7 +457,7 @@ async def _games_info(self, interaction: discord.Interaction):
457457 embed .add_field (name = f'Last Sync' , value = f'<t:{ last_sync } :R>' , inline = False )
458458
459459 return await interaction .followup .send (embed = embed )
460-
460+
461461 # called by core.py
462462 async def games_sync (self , interaction : discord .Interaction , full : bool ):
463463 '''Force a database sync'''
@@ -468,7 +468,6 @@ async def games_sync(self, interaction: discord.Interaction, full: bool):
468468 return await interaction .edit_original_response (content = message )
469469
470470
471-
472471async def setup (bot ):
473472 await bot .add_cog (Games (bot ))
474473 logging .info ('[Extension] Games module loaded' )
0 commit comments