Skip to content

Comparison mapping

Matthew Carey edited this page Nov 15, 2020 · 1 revision

This page shows which parts of the API comparison (or the Discord feature set in general) correspond to what methods. For REST features, the API method is linked too, in case you want to perform requests manually.

REST

Feature Abstraction API method
Create channel Server#create_channel create_channel
Delete channel Channel#delete delete_channel
DM User#pm create_private
Edit channel Any of the attribute= methods, for example Channel#topic= update_channel
Channel history Channel#history channel_log
Channel info Bot#channel channel
Permission overwrites Channel#permission_overwrites update_user_overrides, update_role_overrides
Edit profile Bot#profile update_user
Create invite Channel#make_invite create_invite
Delete invite Invite#delete delete_invite
Invite info Bot#invite resolve_invite
Join invite Bot#join join_server
Send message Bot#send_message, Channel#send_message send_message
Send file Bot#send_file, Channel#send_file send_file
Edit message Message#edit edit_message
Delete message Message#delete delete_message
Create role Server#create_role create_role
Delete role Role#delete delete_role
Edit role Any of the attribute= methods, for example Role#name= update_role
Role info Server#role None, this is handled over server info.
Send typing Channel#start_typing start_typing
Ban user Server#ban ban_user
Ban list Server#bans bans
Create server Bot#create_server create_server
Delete server Server#delete delete_server
Edit server Any of the attribute= methods, for example Server#name= update_server
Server info Bot#server None, server information is handled entirely over the WS.
Kick user Server#kick kick_user
Unban user Server#unban unban_user
Voice Move Server#move move_user