aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-06 15:45:35 -0800
committerAustin Hellyer <[email protected]>2016-11-06 15:45:35 -0800
commit49b186b2b5271b63c4e61e130c160b0bfcacf932 (patch)
tree6cbda05d421f60ba67e71bc613601156c9f8545f /src/client
parentRemove Context alias methods (diff)
downloadserenity-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/client')
-rw-r--r--src/client/context.rs8
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)
}