Module: Discordrb::MemberAttributes
Overview
Mixin for the attributes members and private members should have
Instance Attribute Summary collapse
-
#joined_at ⇒ Time
readonly
When this member joined the server.
-
#nick ⇒ String?
(also: #nickname)
readonly
The nickname this member has, or nil if it has none.
-
#roles ⇒ Array<Role>
readonly
The roles this member has.
-
#server ⇒ Server
readonly
The server this member is on.
Instance Attribute Details
#joined_at ⇒ Time (readonly)
314 315 316 |
# File 'lib/discordrb/data.rb', line 314 def joined_at @joined_at end |
#nick ⇒ String? (readonly) Also known as: nickname
317 318 319 |
# File 'lib/discordrb/data.rb', line 317 def nick @nick end |
#roles ⇒ Array<Role> (readonly)
321 322 323 |
# File 'lib/discordrb/data.rb', line 321 def roles @roles end |
#server ⇒ Server (readonly)
324 325 326 |
# File 'lib/discordrb/data.rb', line 324 def server @server end |