Class: Discordrb::IntegrationApplication
- Inherits:
-
Object
- Object
- Discordrb::IntegrationApplication
- Includes:
- IDObject
- Defined in:
- lib/discordrb/data/integration.rb
Overview
Bot/OAuth2 application for discord integrations
Instance Attribute Summary collapse
-
#bot ⇒ User?
readonly
The bot associated with this application.
-
#description ⇒ String
readonly
The description of the application.
-
#icon ⇒ String?
readonly
The icon hash of the application.
-
#name ⇒ String
readonly
The name of the application.
Attributes included from IDObject
Method Summary
Methods included from IDObject
#==, #creation_time, synthesise
Instance Attribute Details
#bot ⇒ User? (readonly)
Returns the bot associated with this application.
32 33 34 |
# File 'lib/discordrb/data/integration.rb', line 32 def bot @bot end |
#description ⇒ String (readonly)
Returns the description of the application.
29 30 31 |
# File 'lib/discordrb/data/integration.rb', line 29 def description @description end |
#icon ⇒ String? (readonly)
Returns the icon hash of the application.
26 27 28 |
# File 'lib/discordrb/data/integration.rb', line 26 def icon @icon end |
#name ⇒ String (readonly)
Returns the name of the application.
23 24 25 |
# File 'lib/discordrb/data/integration.rb', line 23 def name @name end |