diff options
| author | Austin Hellyer <[email protected]> | 2016-11-06 15:45:35 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-06 15:45:35 -0800 |
| commit | 49b186b2b5271b63c4e61e130c160b0bfcacf932 (patch) | |
| tree | 6cbda05d421f60ba67e71bc613601156c9f8545f /src | |
| parent | Remove Context alias methods (diff) | |
| download | serenity-49b186b2b5271b63c4e61e130c160b0bfcacf932.tar.xz serenity-49b186b2b5271b63c4e61e130c160b0bfcacf932.zip | |
Remove Context::get_application{s,_info}
These are aliases of their `http` module equivilants, so they aren't
needed, especially on the Context, where they are not associated with
the current context.
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/context.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client/context.rs b/src/client/context.rs index 3e45bfe..faa23f6 100644 --- a/src/client/context.rs +++ b/src/client/context.rs @@ -573,14 +573,6 @@ impl Context { http::edit_note(user_id.into().0, map) } - pub fn get_application_info(&self) -> Result<CurrentApplicationInfo> { - http::get_application_info() - } - - pub fn get_applications(&self) -> Result<Vec<ApplicationInfo>> { - http::get_applications() - } - pub fn get_bans<G: Into<GuildId>>(&self, guild_id: G) -> Result<Vec<Ban>> { http::get_bans(guild_id.into().0) } |