mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-01 17:55:41 +00:00
Merge branch 'master' into Dec
This commit is contained in:
@@ -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