Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
111 changed files with 9967 additions and 6558 deletions
Showing only changes of commit 195bace135 - Show all commits

View File

@ -214,7 +214,7 @@ class UserConverter(IDConverter):
if match is not None:
user_id = int(match.group(1))
result = ctx.bot.get_user(user_id) or _utils_get(ctx.message.mentions, id=user_id)
result = await ctx.bot.try_user(user_id) or _utils_get(ctx.message.mentions, id=user_id)
else:
arg = argument

View File

@ -231,6 +231,8 @@ class Permissions(BaseFlags):
"""
return 1 << 3
admin = administrator
@flag_value
def manage_channels(self):
""":class:`bool`: Returns ``True`` if a user can edit, delete, or create channels in the guild.