diff options
| author | Zeyla Hellyer <[email protected]> | 2018-02-09 20:25:11 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-02-09 20:26:00 -0800 |
| commit | dbfc06e9c6df506839fb178eaeb9db704aefd357 (patch) | |
| tree | d91f56767a99267185ba77c036cd1c17fc82e96e /src/http/ratelimiting.rs | |
| parent | Generalise `image`, `thumbnail`, `url` and `attachment` (diff) | |
| download | serenity-dbfc06e9c6df506839fb178eaeb9db704aefd357.tar.xz serenity-dbfc06e9c6df506839fb178eaeb9db704aefd357.zip | |
Add 'Get Guild Vanity Url' endpoint
Docs: <https://github.com/discordapp/discord-api-docs/commit/98f6643703012d2f3780ba730ce1191120f85dcd>
Diffstat (limited to 'src/http/ratelimiting.rs')
| -rw-r--r-- | src/http/ratelimiting.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs index ca269e3..d46d196 100644 --- a/src/http/ratelimiting.rs +++ b/src/http/ratelimiting.rs @@ -316,6 +316,12 @@ pub enum Route { /// /// [`GuildId`]: struct.GuildId.html GuildsIdRolesId(u64), + /// Route for the `/guilds/:guild_id/vanity-url` path. + /// + /// The data is the relevant [`GuildId`]. + /// + /// [`GuildId`]: struct.GuildId.html + GuildsIdVanityUrl(u64), /// Route for the `/guilds/:guild_id/webhooks` path. /// /// The data is the relevant [`GuildId`]. |