Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
77 changed files with 2574 additions and 2110 deletions
Showing only changes of commit afca943f16 - Show all commits

View File

@ -1309,7 +1309,7 @@ class Guild(Hashable):
def convert(d):
factory, ch_type = _channel_factory(d['type'])
if factory is None:
raise InvalidData('Unknown channel type {type} for channel ID {id}.'.format_map(data))
raise InvalidData('Unknown channel type {type} for channel ID {id}.'.format_map(d))
channel = factory(guild=self, state=self._state, data=d)
return channel