mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Fix FAQ using string for IDs.
This commit is contained in:
parent
de00573288
commit
6b3abeb810
@ -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: ::
|
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')
|
await channel.send('hello')
|
||||||
|
|
||||||
How do I upload an image?
|
How do I upload an image?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user