Method: Discordrb::API.trace=

Defined in:
lib/discordrb/api.rb

.trace=(value) ⇒ Object

Changes the rate limit tracing behaviour. If rate limit tracing is on, a full backtrace will be logged on every RL hit.

Parameters:

  • value (true, false)

    whether or not to enable rate limit tracing



47
48
49
# File 'lib/discordrb/api.rb', line 47

def trace=(value)
  @trace = value
end