aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-14 04:43:15 -0400
committerRapptz <[email protected]>2017-05-14 04:43:15 -0400
commit6b3abeb81022d06c6bf9f4c494ab8e35b2e033d7 (patch)
tree522db3ecc5c7f34c18ac32435d45acb25ecaf599 /docs
parentFix some broken cross references in the migrating page. (diff)
downloaddiscord.py-6b3abeb81022d06c6bf9f4c494ab8e35b2e033d7.tar.xz
discord.py-6b3abeb81022d06c6bf9f4c494ab8e35b2e033d7.zip
Fix FAQ using string for IDs.
Diffstat (limited to 'docs')
-rw-r--r--docs/faq.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index d6500f13..21031c47 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -106,7 +106,7 @@ How do I send a message to a specific channel?
You must fetch the channel directly and then call the appropriate method. Example: ::
- channel = client.get_channel('12324234183172')
+ channel = client.get_channel(12324234183172)
await channel.send('hello')
How do I upload an image?