Class: Discordrb::IntegrationApplication
- Inherits:
-
Object
- Object
- Discordrb::IntegrationApplication
- 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.
-
#id ⇒ Integer
readonly
The ID of the application.
-
#name ⇒ String
readonly
The name of the application.
-
#summary ⇒ String
readonly
The summary of the application.
Instance Attribute Details
#bot ⇒ User? (readonly)
Returns the bot associated with this application.
37 38 39 |
# File 'lib/discordrb/data/integration.rb', line 37 def bot @bot end |
#description ⇒ String (readonly)
Returns the description of the application.
31 32 33 |
# File 'lib/discordrb/data/integration.rb', line 31 def description @description end |
#icon ⇒ String? (readonly)
Returns the icon hash of the application.
28 29 30 |
# File 'lib/discordrb/data/integration.rb', line 28 def icon @icon end |
#id ⇒ Integer (readonly)
Returns the ID of the application.
22 23 24 |
# File 'lib/discordrb/data/integration.rb', line 22 def id @id end |
#name ⇒ String (readonly)
Returns the name of the application.
25 26 27 |
# File 'lib/discordrb/data/integration.rb', line 25 def name @name end |
#summary ⇒ String (readonly)
Returns the summary of the application.
34 35 36 |
# File 'lib/discordrb/data/integration.rb', line 34 def summary @summary end |