aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/context.py
diff options
context:
space:
mode:
authorBeatButton <[email protected]>2018-09-09 09:19:50 -0600
committerRapptz <[email protected]>2018-09-14 22:55:27 -0400
commita4d1599ce92e39d93ff6ccb08ef4511d8b2543be (patch)
tree11af80b8e22dce5f37ed7f9cdd157d5213c8fd90 /discord/ext/commands/context.py
parentBump aiohttp contraint to <3.5.0 (diff)
downloaddiscord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.tar.xz
discord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.zip
Change docstrings to raw-strings
Diffstat (limited to 'discord/ext/commands/context.py')
-rw-r--r--discord/ext/commands/context.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py
index 4beaa7d6..73679e52 100644
--- a/discord/ext/commands/context.py
+++ b/discord/ext/commands/context.py
@@ -28,7 +28,7 @@ import discord.abc
import discord.utils
class Context(discord.abc.Messageable):
- """Represents the context in which a command is being invoked under.
+ r"""Represents the context in which a command is being invoked under.
This class contains a lot of meta data to help you understand more about
the invocation context. This class is not created manually and is instead
@@ -87,7 +87,7 @@ class Context(discord.abc.Messageable):
self._state = self.message._state
async def invoke(self, *args, **kwargs):
- """|coro|
+ r"""|coro|
Calls a command with the arguments given.
@@ -219,6 +219,6 @@ class Context(discord.abc.Messageable):
@property
def voice_client(self):
- """Optional[:class:`VoiceClient`]: A shortcut to :attr:`Guild.voice_client`\, if applicable."""
+ r"""Optional[:class:`VoiceClient`]: A shortcut to :attr:`Guild.voice_client`\, if applicable."""
g = self.guild
return g.voice_client if g else None