Skip to content

Commit

Permalink
chore: remove unused flag value
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Oct 18, 2022
1 parent 27dc587 commit a202a32
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions disnake/ext/commands/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def __init__(
self,
*,
allow_command_deletion: bool = ...,
on_cog_actions: bool = ...,
on_cog_unload: bool = ...,
sync_commands: bool = ...,
sync_commands_debug: bool = ...,
Expand Down Expand Up @@ -147,11 +146,6 @@ def sync_commands_debug(self):
""":class:`bool`: Whether or not to show app command sync debug messages"""
return 1 << 1

@alias_flag_value
def on_cog_actions(self):
""":class:`bool`: Whether or not to sync app commands on cog load, unload, or reload."""
return 1 << 2 | 1 << 4

@flag_value
def on_cog_unload(self):
""":class:`bool`: Whether or not to sync app commands on cog unload or reload."""
Expand Down

0 comments on commit a202a32

Please sign in to comment.