Class: Copilot::CommandContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Context for a slash-command invocation.

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



266
267
268
# File 'lib/copilot/types.rb', line 266

def args
  @args
end

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



266
267
268
# File 'lib/copilot/types.rb', line 266

def command
  @command
end

#command_nameObject

Returns the value of attribute command_name

Returns:

  • (Object)

    the current value of command_name



266
267
268
# File 'lib/copilot/types.rb', line 266

def command_name
  @command_name
end

#session_idObject

Returns the value of attribute session_id

Returns:

  • (Object)

    the current value of session_id



266
267
268
# File 'lib/copilot/types.rb', line 266

def session_id
  @session_id
end