Invite bot to server / group for #8.
This commit is contained in:
1 parent
93610ebbc3
commit
9f749cfdf8
7 files changed
+127
-51
No files matched your search
@@ -61,6 +61,10 @@ impl Ref {
|
||||
self.fetch("channel_invites").await
|
||||
}
|
||||
|
||||
pub async fn fetch_bot(&self) -> Result<Bot> {
|
||||
self.fetch("bots").await
|
||||
}
|
||||
|
||||
pub async fn fetch_member(&self, server: &str) -> Result<Member> {
|
||||
let doc = get_collection("server_members")
|
||||
.find_one(
|
||||
|
||||
Reference in new issue
Block a user