Skip to content

Commit

Permalink
fix: 删除注释的代码
Browse files Browse the repository at this point in the history
  • Loading branch information
veehou committed Jun 13, 2022
1 parent 5faeb76 commit fd01ac8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions botpy/channel.py
Expand Up @@ -5,7 +5,6 @@
class Channel:
__slots__ = (
"_api",
"_ctx",
"guild_id",
"id",
"name",
Expand All @@ -17,12 +16,11 @@ class Channel:
"speak_permission",
"application_id",
"permissions",
"event_id"
"event_id",
)

def __init__(self, api: BotAPI, ctx: gateway.WsContext, data: channel.ChannelPayload):
self._api = api
# self._ctx = ctx

self.id = data.get("id")
self.name = data.get("name")
Expand Down

0 comments on commit fd01ac8

Please sign in to comment.