Top Level Namespace

Defined Under Namespace

Modules: Discordrb Classes: Integer, String

Instance Method Summary collapse

Instance Method Details

#not!(object) ⇒ Negated<Object>

Utility function that creates a negated object for Discordrb::Events.matches_all

Parameters:

  • object (Object)

    The object to negate

Returns:

  • (Negated<Object>)

    the object, negated, as an attribute to pass to matches_all

See Also:



125
126
127
# File 'lib/discordrb/events/generic.rb', line 125

def not!(object)
  Discordrb::Events::Negated.new(object)
end