mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-25 02:23:04 +00:00 
			
		
		
		
	Fix grammar in abc docs, add new implementation
This commit is contained in:
		| @@ -133,7 +133,7 @@ class User(metaclass=abc.ABCMeta): | |||||||
| class PrivateChannel(metaclass=abc.ABCMeta): | class PrivateChannel(metaclass=abc.ABCMeta): | ||||||
|     """An ABC that details the common operations on a private Discord channel. |     """An ABC that details the common operations on a private Discord channel. | ||||||
|  |  | ||||||
|     The follow implement this ABC: |     The following implement this ABC: | ||||||
|  |  | ||||||
|     - :class:`DMChannel` |     - :class:`DMChannel` | ||||||
|     - :class:`GroupChannel` |     - :class:`GroupChannel` | ||||||
| @@ -165,10 +165,11 @@ _Overwrites = namedtuple('_Overwrites', 'id allow deny type') | |||||||
| class GuildChannel: | class GuildChannel: | ||||||
|     """An ABC that details the common operations on a Discord guild channel. |     """An ABC that details the common operations on a Discord guild channel. | ||||||
|  |  | ||||||
|     The follow implement this ABC: |     The following implement this ABC: | ||||||
|  |  | ||||||
|     - :class:`TextChannel` |     - :class:`TextChannel` | ||||||
|     - :class:`VoiceChannel` |     - :class:`VoiceChannel` | ||||||
|  |     - :class:`CategoryChannel` | ||||||
|  |  | ||||||
|     This ABC must also implement :class:`abc.Snowflake`. |     This ABC must also implement :class:`abc.Snowflake`. | ||||||
|  |  | ||||||
| @@ -653,7 +654,7 @@ class GuildChannel: | |||||||
| class Messageable(metaclass=abc.ABCMeta): | class Messageable(metaclass=abc.ABCMeta): | ||||||
|     """An ABC that details the common operations on a model that can send messages. |     """An ABC that details the common operations on a model that can send messages. | ||||||
|  |  | ||||||
|     The follow implement this ABC: |     The following implement this ABC: | ||||||
|  |  | ||||||
|     - :class:`TextChannel` |     - :class:`TextChannel` | ||||||
|     - :class:`DMChannel` |     - :class:`DMChannel` | ||||||
| @@ -928,7 +929,7 @@ class Connectable(metaclass=abc.ABCMeta): | |||||||
|     """An ABC that details the common operations on a channel that can |     """An ABC that details the common operations on a channel that can | ||||||
|     connect to a voice server. |     connect to a voice server. | ||||||
|  |  | ||||||
|     The follow implement this ABC: |     The following implement this ABC: | ||||||
|  |  | ||||||
|     - :class:`VoiceChannel` |     - :class:`VoiceChannel` | ||||||
|     """ |     """ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user