You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/discordrb/bot.rb
+17-6Lines changed: 17 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
require'discordrb/events/invites'
21
21
require'discordrb/events/interactions'
22
22
require'discordrb/events/threads'
23
+
require'discordrb/events/polls'
23
24
24
25
require'discordrb/api'
25
26
require'discordrb/api/channel'
@@ -404,16 +405,17 @@ def delete_invite(code)
404
405
# @param components [View, Array<Hash>] Interaction components to associate with this message.
405
406
# @param flags [Integer] Flags for this message. Currently only SUPPRESS_EMBEDS (1 << 2), SUPPRESS_NOTIFICATIONS (1 << 12), and IS_COMPONENTS_V2 (1 << 15) can be set.
406
407
# @param nonce [String, nil] A optional nonce in order to verify that a message was sent. Maximum of twenty-five characters.
407
-
# @param enforce_nonce [true, false] whether the nonce should be enforced and used for message de-duplication.
408
+
# @param enforce_nonce [true, false] Whether the nonce should be enforced and used for message de-duplication.
409
+
# @param poll [Hash, Poll::Builder, Poll, nil] The poll that should be attached to this message.
# @param components [View, Array<Hash>] Interaction components to associate with this message.
431
433
# @param flags [Integer] Flags for this message. Currently only SUPPRESS_EMBEDS (1 << 2), SUPPRESS_NOTIFICATIONS (1 << 12), and IS_COMPONENTS_V2 (1 << 15) can be set.
432
434
# @param nonce [String, nil] A optional nonce in order to verify that a message was sent. Maximum of twenty-five characters.
433
-
# @param enforce_nonce [true, false] whether the nonce should be enforced and used for message de-duplication.
0 commit comments