Skip to content

Commit

Permalink
Removes Message:getMember
Browse files Browse the repository at this point in the history
  • Loading branch information
SinisterRectus committed Mar 6, 2020
1 parent 89e71c2 commit 8ad5334
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions libs/containers/Message.lua
Original file line number Diff line number Diff line change
Expand Up @@ -164,21 +164,6 @@ function Message:_modify(payload)
end
end

--[=[
@m getMember
@t http?
@r Member/nil
@d Returns the `Member` object for the message's author if the message originates
in a guild text channel and if the author is a guild member. Equivalent to calling
`Message.guild:getMember(message.author.id)`.
]=]
function Message:getMember()
local guild = self._parent._parent
if guild then
return guild:getMember(self._author._id)
end
end

--[=[
@m setContent
@t http
Expand Down

0 comments on commit 8ad5334

Please sign in to comment.