Skip to content

Commit

Permalink
pylint:Unexpected whitespace changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
iach526526 committed Jul 21, 2024
1 parent 15b863e commit 30ea4c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cog/admin_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async def on_ready(self) -> None:
# 成員身分組
class RoleView(discord.ui.View):
def __init__(self):
super().__init__(timeout = None) # Timeout of the view must be set to None
super().__init__(timeout=None) # Timeout of the view must be set to None

@discord.ui.button(
label = "領取身分組",
Expand All @@ -38,7 +38,7 @@ async def create_role_button(self, ctx) -> None:
# 禮物按鈕
class Gift(discord.ui.View):
def __init__(self):
super().__init__(timeout = None) # Timeout of the view must be set to None
super().__init__(timeout=None) # Timeout of the view must be set to None
self.type = None # 存放這個按鈕是送電電點還是抽獎券,預設 None ,在建立按鈕時會設定 see view.type = gift_type
self.count = 0 # 存放這個按鈕是送多少電電點/抽獎券

Expand Down

0 comments on commit 30ea4c0

Please sign in to comment.