mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
Add server property to the Message class
Extremely simple change, but I (and others) would probably find it a nice shortcut.
This commit is contained in:
@@ -15,7 +15,12 @@ Attributes
|
||||
channel
|
||||
~~~~~~~
|
||||
|
||||
The channel the message sent in, either a TextChannel_ or PMChannel_.
|
||||
The channel the message was sent in, either a TextChannel_ or PMChannel_.
|
||||
|
||||
server
|
||||
~~~~~~~
|
||||
|
||||
The Server_ the message was sent in. Will be null if the message was sent in a PMChannel_.
|
||||
|
||||
client
|
||||
~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user