add typehint for IRCChannel.mode_lists

This commit is contained in:
jesopo 2020-01-22 18:01:22 +00:00
parent 2a33b25930
commit 007fd1206c

View file

@ -18,7 +18,7 @@ class Channel(IRCObject.Object):
self.topic_time = 0
self.users = set([]) # type: typing.Set[IRCUser.User]
self.modes = {} # type: typing.Dict[str, typing.Set]
self.mode_lists = {}
self.mode_lists: typing.Dict[str, typing.Set[str]] = {}
self.user_modes = {} # type: typing.Dict[IRCUser.User, typing.Set]
self.created_timestamp = None
self.buffer = IRCBuffer.Buffer(bot, server)