Concord - C Discord API library
A Discord API wrapper library written in C
auto_moderation.h
Go to the documentation of this file.
1
7#ifndef DISCORD_AUTO_MODERATION_H
8#define DISCORD_AUTO_MODERATION_H
9
25 struct discord *client,
26 u64snowflake guild_id,
28
40 struct discord *client,
41 u64snowflake guild_id,
42 u64snowflake auto_moderation_rule_id,
44
56 struct discord *client,
57 u64snowflake guild_id,
60
73 struct discord *client,
74 u64snowflake guild_id,
75 u64snowflake auto_moderation_rule_id,
78
91 struct discord *client,
92 u64snowflake guild_id,
93 u64snowflake auto_moderation_rule_id,
95 struct discord_ret *ret);
96
99#endif /* DISCORD_AUTO_MODERATION_H */
CCORDcode
Definition: error.h:12
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
CCORDcode discord_delete_auto_moderation_rule(struct discord *client, u64snowflake guild_id, u64snowflake auto_moderation_rule_id, struct discord_delete_auto_moderation_rule *params, struct discord_ret *ret)
Delete a rule.
CCORDcode discord_modify_auto_moderation_rule(struct discord *client, u64snowflake guild_id, u64snowflake auto_moderation_rule_id, struct discord_modify_auto_moderation_rule *params, struct discord_ret_auto_moderation_rule *ret)
Modify an existing rule.
CCORDcode discord_create_auto_moderation_rule(struct discord *client, u64snowflake guild_id, struct discord_create_auto_moderation_rule *params, struct discord_ret_auto_moderation_rule *ret)
Create a new rule.
CCORDcode discord_get_auto_moderation_rule(struct discord *client, u64snowflake guild_id, u64snowflake auto_moderation_rule_id, struct discord_ret_auto_moderation_rule *ret)
Get a single rule.
CCORDcode discord_list_auto_moderation_rules_for_guild(struct discord *client, u64snowflake guild_id, struct discord_ret_auto_moderation_rules *ret)
Get a list of all rules currently configured for the guild.
Definition: auto_moderation.h:147
Definition: auto_moderation.h:210
Definition: auto_moderation.h:180
Request's return context.
Definition: discord-response.h:78
Request's return context.
Definition: discord-response.h:79
Request's return context.
Definition: discord-response.h:54
The Discord client handler.
Definition: discord-internal.h:1182