Crux v2020-03-17 17:55:51Z Crux.Rest.Functions View Source
Module with functions to create Crux.Rest.Request
which can be executed.
There are no bangified functions here as no requests to Discord are actually made.
- All functions return a
Crux.Rest.Request
. - Parameters are as described in
Crux.Rest
behaviour.
Link to this section Summary
Functions
get_guild_vanity_url(guild)
deprecated
Link to this section Functions
Link to this function
add_guild_member(guild, user, data) View Source
Link to this function
add_guild_member_role(guild, user, role, reason \\ nil) View Source
Link to this function
add_pinned_message(map) View Source
Link to this function
add_pinned_message(channel, message) View Source
Link to this function
begin_guild_prune(guild, data) View Source
Link to this function
create_channel_invite(channel, data) View Source
Link to this function
create_dm(user) View Source
Link to this function
create_guild(data) View Source
Link to this function
create_guild_ban(guild, user, reason \\ nil) View Source
Link to this function
create_guild_channel(guild, data) View Source
Link to this function
create_guild_emoji(guild, data) View Source
Link to this function
create_guild_integration(guild, data) View Source
Link to this function
create_guild_role(guild, data) View Source
Link to this function
create_message(channel_or_message, data) View Source
Link to this function
create_reaction(map, emoji) View Source
Link to this function
create_reaction(channel, message, emoji) View Source
Link to this function
delete_all_reactions(map, emoji) View Source
Link to this function
delete_all_reactions(channel, message, emoji) View Source
Link to this function
delete_channel(channel, reason \\ nil) View Source
Link to this function
delete_channel_permissions(channel, target, reason \\ nil) View Source
Link to this function
delete_guild(guild) View Source
Link to this function
delete_guild_emoji(guild, emoji, reason \\ nil) View Source
Link to this function
delete_guild_integration(guild, integration) View Source
Link to this function
delete_guild_role(guild, role, reason \\ nil) View Source
Link to this function
delete_invite(code) View Source
Link to this function
delete_message(map) View Source
Link to this function
delete_message(channel, message) View Source
Link to this function
delete_messages(channel, messages) View Source
Link to this function
delete_pinned_message(map) View Source
Link to this function
delete_pinned_message(channel, message) View Source
Link to this function
delete_reaction(message_or_channel, emoji_or_message_id, emoji_or_maybe_user \\ "@me", mayber_user \\ "@me") View Source
Link to this function
delete_webhook(user, token \\ nil) View Source
Link to this function
edit_channel_permissions(channel, target, data) View Source
Link to this function
edit_message(map, data) View Source
Link to this function
edit_message(channel, message, data) View Source
Link to this function
execute_github_webhook(map, event, data) View Source
Link to this function
execute_github_webhook(user, token, event, wait \\ false, data) View Source
Link to this function
execute_slack_webhook(map, data) View Source
Link to this function
execute_slack_webhook(user, token, wait \\ false, data) View Source
Link to this function
execute_webhook(map, data) View Source
Link to this function
execute_webhook(user, token, wait \\ false, data) View Source
Link to this function
gateway() View Source
Link to this function
gateway_bot() View Source
Link to this function
get_audit_logs(guild, data \\ []) View Source
Link to this function
get_channel(channel) View Source
Link to this function
get_channel_invites(channel) View Source
Link to this function
get_current_user() View Source
Link to this function
get_current_user_guilds(data \\ []) View Source
Link to this function
get_guild(guild) View Source
Link to this function
get_guild_ban(guild, user) View Source
Link to this function
get_guild_bans(guild) View Source
Link to this function
get_guild_channels(guild) View Source
Link to this function
get_guild_embed(guild) View Source
Link to this function
get_guild_emoji(guild, emoji) View Source
Link to this function
get_guild_integrations(guild) View Source
Link to this function
get_guild_invites(guild) View Source
Link to this function
get_guild_member(guild, user) View Source
Link to this function
get_guild_prune_count(guild, days) View Source
Link to this function
get_guild_roles(guild) View Source
Link to this function
get_guild_vanity_invite(guild) View Source
Link to this function
get_guild_vanity_url(guild) View Source
This function is deprecated. Use get_guild_vanity_invite/1 instead.
Link to this function
get_guild_voice_regions(guild) View Source
Link to this function
get_invite(code) View Source
Link to this function
get_message(channel, message) View Source
Link to this function
get_messages(channel, data) View Source
Link to this function
get_pinned_messages(channel) View Source
Link to this function
get_reactions(channel_or_message, emoji_or_message_id, emoji_or_maybe_data \\ [], maybe_data \\ []) View Source
Link to this function
get_user(user) View Source
Link to this function
get_webhook(user, token \\ nil) View Source
Link to this function
leave_guild(guild) View Source
Link to this function
list_channel_webhooks(channel) View Source
Link to this function
list_guild_emojis(guild) View Source
Link to this function
list_guild_members(guild, options) View Source
Link to this function
list_guild_webhooks(guild) View Source
Link to this function
modify_channel(channel, data) View Source
Link to this function
modify_current_user(data) View Source
Link to this function
modify_current_users_nick(guild, nick, reason \\ nil) View Source
Link to this function
modify_guild(guild, data) View Source
Link to this function
modify_guild_channel_positions(guild, channels) View Source
Link to this function
modify_guild_embed(guild, data) View Source
Link to this function
modify_guild_emoji(guild, emoji, data) View Source
Link to this function
modify_guild_integration(guild, integration, data) View Source
Link to this function
modify_guild_member(guild, user, data) View Source
Link to this function
modify_guild_role(guild, role, data) View Source
Link to this function
modify_guild_role_positions(guild, data) View Source
Link to this function
remove_guild_ban(guild, user, reason \\ nil) View Source
Link to this function
remove_guild_member_role(guild, user, role, reason \\ nil) View Source
Link to this function
sync_guild_integration(guild, integration) View Source
Link to this function
trigger_typing(channel) View Source
Link to this function