Class: Discordrb::InstallParams

Inherits:
Object
  • Object
show all
Defined in:
lib/discordrb/data/install_params.rb

Overview

Default installation parameters for an application.

Instance Attribute Summary collapse

Instance Attribute Details

#permissionsPermissions? (readonly)

Returns the default permissions to add an application to a server with.

Returns:

  • (Permissions, nil)

    the default permissions to add an application to a server with.



10
11
12
# File 'lib/discordrb/data/install_params.rb', line 10

def permissions
  @permissions
end

#scopesArray<String> (readonly)

Returns the default scopes to add an application to a server with.

Returns:

  • (Array<String>)

    the default scopes to add an application to a server with.



7
8
9
# File 'lib/discordrb/data/install_params.rb', line 7

def scopes
  @scopes
end