[commands] Properly raise the correct exception for owner_ids

Also some minor nits with documentation.
This commit is contained in:
Rapptz
2019-06-29 19:26:45 -04:00
parent 69364a25eb
commit 68342db04d
3 changed files with 15 additions and 20 deletions

View File

@ -33,7 +33,6 @@ from .enums import TeamMembershipState, try_enum
class Team:
"""Represents an application team for a bot provided by Discord.
Attributes
-------------
id: :class:`int`
@ -75,7 +74,6 @@ class Team:
class TeamMember:
"""Represents a team member in a team.
Attributes
-------------
team: :class:`team`