You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.9 KiB
Lua
55 lines
2.9 KiB
Lua
3 years ago
|
return {
|
||
|
CHANNEL = "/channels/%s",
|
||
|
CHANNEL_INVITES = "/channels/%s/invites",
|
||
|
CHANNEL_MESSAGE = "/channels/%s/messages/%s",
|
||
|
CHANNEL_MESSAGES = "/channels/%s/messages",
|
||
|
CHANNEL_MESSAGES_BULK_DELETE = "/channels/%s/messages/bulk-delete",
|
||
|
CHANNEL_MESSAGE_REACTION = "/channels/%s/messages/%s/reactions/%s",
|
||
|
CHANNEL_MESSAGE_REACTIONS = "/channels/%s/messages/%s/reactions",
|
||
|
CHANNEL_MESSAGE_REACTION_ME = "/channels/%s/messages/%s/reactions/%s/@me",
|
||
|
CHANNEL_MESSAGE_REACTION_USER = "/channels/%s/messages/%s/reactions/%s/%s",
|
||
|
CHANNEL_PERMISSION = "/channels/%s/permissions/%s",
|
||
|
CHANNEL_PIN = "/channels/%s/pins/%s",
|
||
|
CHANNEL_PINS = "/channels/%s/pins",
|
||
|
CHANNEL_RECIPIENT = "/channels/%s/recipients/%s",
|
||
|
CHANNEL_TYPING = "/channels/%s/typing",
|
||
|
CHANNEL_WEBHOOKS = "/channels/%s/webhooks",
|
||
|
GATEWAY = "/gateway",
|
||
|
GATEWAY_BOT = "/gateway/bot",
|
||
|
GUILD = "/guilds/%s",
|
||
|
GUILDS = "/guilds",
|
||
|
GUILD_AUDIT_LOGS = "/guilds/%s/audit-logs",
|
||
|
GUILD_BAN = "/guilds/%s/bans/%s",
|
||
|
GUILD_BANS = "/guilds/%s/bans",
|
||
|
GUILD_CHANNELS = "/guilds/%s/channels",
|
||
|
GUILD_EMBED = "/guilds/%s/embed",
|
||
|
GUILD_EMOJI = "/guilds/%s/emojis/%s",
|
||
|
GUILD_EMOJIS = "/guilds/%s/emojis",
|
||
|
GUILD_INTEGRATION = "/guilds/%s/integrations/%s",
|
||
|
GUILD_INTEGRATIONS = "/guilds/%s/integrations",
|
||
|
GUILD_INTEGRATION_SYNC = "/guilds/%s/integrations/%s/sync",
|
||
|
GUILD_INVITES = "/guilds/%s/invites",
|
||
|
GUILD_MEMBER = "/guilds/%s/members/%s",
|
||
|
GUILD_MEMBERS = "/guilds/%s/members",
|
||
|
GUILD_MEMBER_ME_NICK = "/guilds/%s/members/@me/nick",
|
||
|
GUILD_MEMBER_ROLE = "/guilds/%s/members/%s/roles/%s",
|
||
|
GUILD_PRUNE = "/guilds/%s/prune",
|
||
|
GUILD_REGIONS = "/guilds/%s/regions",
|
||
|
GUILD_ROLE = "/guilds/%s/roles/%s",
|
||
|
GUILD_ROLES = "/guilds/%s/roles",
|
||
|
GUILD_WEBHOOKS = "/guilds/%s/webhooks",
|
||
|
INVITE = "/invites/%s",
|
||
|
OAUTH2_APPLICATION_ME = "/oauth2/applications/@me",
|
||
|
USER = "/users/%s",
|
||
|
USER_ME = "/users/@me",
|
||
|
USER_ME_CHANNELS = "/users/@me/channels",
|
||
|
USER_ME_CONNECTIONS = "/users/@me/connections",
|
||
|
USER_ME_GUILD = "/users/@me/guilds/%s",
|
||
|
USER_ME_GUILDS = "/users/@me/guilds",
|
||
|
VOICE_REGIONS = "/voice/regions",
|
||
|
WEBHOOK = "/webhooks/%s",
|
||
|
WEBHOOK_TOKEN = "/webhooks/%s/%s",
|
||
|
WEBHOOK_TOKEN_GITHUB = "/webhooks/%s/%s/github",
|
||
|
WEBHOOK_TOKEN_SLACK = "/webhooks/%s/%s/slack",
|
||
|
}
|