class Discordrb::Commands::CommandAlias

A command that references another command

Attributes

aliased_command[R]

@return [Command] the command this alias points to

name[R]

@return [Symbol] the name of this alias

Public Class Methods

new(name, aliased_command) click to toggle source
# File lib/discordrb/commands/parser.rb, line 132
def initialize(name, aliased_command)
  @name = name
  @aliased_command = aliased_command
end