Authors: | Doug Coleman, Aleksander "olus2000" Sabak |
Class | Superclass | Slots |
discord-bot | disposable | config in out bot-thread heartbeat-thread send-heartbeat? reconnect? stop? sequence-number messages last-message application user session_id resume_gateway_url guilds channels |
discord-bot-config | tuple | client-id client-secret token application-id guild-id channel-id permissions intents user-callback obey-names metadata reconnect-time discord-bot mailbox connect-thread |
discord-webhook | tuple | url id token |
Word | Stack effect |
discord-help-bot | ( json opcode -- ) |
dispatch-message | ( json singleton -- ) |
discord-opcode |
Word | Stack effect |
<discord-bot> | ( config -- discord-bot ) |
<discord-opcode> | ( number -- enum ) |
>discord-url | ( route -- url ) |
add-discord-auth-header | ( request -- request ) |
add-json-header | ( request -- request ) |
bot-guild-join-uri | ( discord-bot-config -- uri ) |
channel-name | ( guild-id channel-id -- name ) |
create-interaction-response | ( json interaction-id interaction-token -- ) |
delete-discord-application-command | ( application-id -- json ) |
delete-discord-application-guild-command | ( application-id -- json ) |
discord-api-url | ( -- value ) |
discord-bot-gateway | ( -- value ) |
discord-connect | ( config -- ) |
discord-delete-json | ( route -- json ) |
discord-delete-request | ( route -- request ) |
discord-get | ( route -- json ) |
discord-get-request | ( route -- request ) |
discord-patch-json | ( payload route -- json ) |
discord-patch-request | ( payload route -- request ) |
discord-post | ( payload route -- json ) |
discord-post-json | ( payload route -- json ) |
discord-post-json-no-resp | ( payload route -- ) |
discord-post-request | ( payload route -- request ) |
discord-reconnect | ( -- ) |
edit-interaction-response | ( json application-id interaction-token -- json ) |
g. | ( object -- ) |
g... | ( object -- ) |
gateway-identify-json | ( -- json ) |
gbl | ( -- ) |
get-application-info | ( -- json ) |
get-channel-webhooks | ( channel-id -- json ) |
get-discord-bot-gateway | ( -- json ) |
get-discord-channel | ( channel-id -- json ) |
get-discord-channel-message | ( channel-id message-id -- json ) |
get-discord-channel-messages | ( channel-id -- json ) |
get-discord-channel-pins | ( channel-id -- json ) |
get-discord-gateway | ( -- json ) |
get-discord-user | ( user -- json ) |
get-discord-user-application-role-connection | ( application-id -- json ) |
get-discord-user-connections | ( -- json ) |
get-discord-users-guild-member | ( guild-id -- json ) |
get-discord-users-guilds | ( -- json ) |
get-discord-users-me | ( -- json ) |
get-guild-active-threads | ( channel-id -- json ) |
get-guild-webhooks | ( guild-id -- json ) |
get-guilds-me | ( -- json ) |
get-original-interaction-response | ( application-id interaction-token -- json ) |
get-webhook | ( webhook-id -- json ) |
gflush | ( -- ) |
ghost-ping | ( message who channel-id -- ) |
ghosting-payload | ( -- string ) |
gnl | ( -- ) |
gprint | ( string -- ) |
gprint-flush | ( string -- ) |
guild-channel-name | ( guild-id channel-id -- name ) |
guild-name | ( guild-id -- name ) |
gwrite | ( string -- ) |
handle-channel-message | ( json -- ) |
handle-discord-HEARTBEAT_ACK | ( json -- ) |
handle-discord-HELLO | ( json -- ) |
handle-discord-RECONNECT | ( json -- ) |
handle-discord-REQUEST_SOUNDBOARD_SOUNDS | ( json -- ) |
handle-discord-RESUME | ( json -- ) |
handle-discord-websocket | ( obj opcode -- ) |
handle-guild-message | ( json -- ) |
handle-incoming-message | ( guild_id channel_id message_id author content -- ) |
jitter-millis | ( heartbeat-millis -- millis ) |
message-channel-id | ( json -- ids ) |
message-from-me? | ( json -- ? ) |
message-mentions | ( json -- ids ) |
message-mentions-ids | ( json -- ids ) |
message-mentions-me-and-not-from-me? | ( json -- ? ) |
message-mentions-me? | ( json -- ? ) |
my-user-id | ( -- id ) |
obey-message? | ( json -- ? ) |
parse-discord-op | ( json -- ) |
reply-command | ( json -- ? ) |
reply-echo | ( json -- ? ) |
reply-message | ( string -- ) |
send-heartbeat | ( seq/f -- ) |
send-message | ( string channel-id -- ) |
send-message* | ( string channel-id -- json ) |
set-discord-application-commands | ( json application-id -- json ) |
set-discord-application-guild-commands | ( json application-id guild-id -- json ) |
start-heartbeat-thread | ( millis -- ) |
stopping-discord-bot | ( -- ) |
Vocabulary | Summary |
discord.chatgpt-bot |