mirror of
https://github.com/spacebarchat/server.git
synced 2026-11-30 22:58:00 +00:00
Merge branch 'master' into Dec
This commit is contained in:
1 file changed
+1
@@ -168,6 +168,7 @@ router.put(
|
||||
if (member_id === "@me") {
|
||||
member_id = req.user_id;
|
||||
rights.hasThrow("JOIN_GUILDS");
|
||||
if (req.user_bot) throw DiscordApiErrors.BOT_PROHIBITED_ENDPOINT;
|
||||
} else {
|
||||
// TODO: check oauth2 scope
|
||||
|
||||
|
||||
Reference in new issue
Block a user