Skip to content

Commit

Permalink
damn auto format ...
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasByr committed Sep 1, 2023
1 parent fe55238 commit f226b3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/events/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def __valid(self, event: dict[str, Any]) -> bool:
"""
Check if the event is valid
"""
return self.__valid_state(event) and self.__valid_time(event) and False # comment the last part to enable the task
# comment the last part to enable the task
return self.__valid_state(event) and self.__valid_time(event) and False

def __valid_state(self, event: dict[str, Any]) -> bool:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/helper/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ async def on_ready(self):

def log_interaction(self, interaction: discord.Interaction):
self.log.info('[%s] %s#%s - %s(%s)', interaction.guild.name, interaction.user.name,
interaction.user.discriminator, interaction.command.name, self.__class__.__name__.lower())
interaction.user.discriminator, interaction.command.name, self.__class__.__name__.lower())

0 comments on commit f226b3e

Please sign in to comment.