Method: Discordrb::Message#webhook_id

Defined in:
lib/discordrb/data/message.rb

#webhook_idInteger? (readonly)

Returns the webhook ID that sent this message, or nil if it wasn't sent through a webhook.

Returns:

  • (Integer, nil)

    the webhook ID that sent this message, or nil if it wasn't sent through a webhook.



71
72
73
# File 'lib/discordrb/data/message.rb', line 71

def webhook_id
  @webhook_id
end