This commit is contained in:
ITOH
2021-04-24 19:39:49 +02:00
parent d7015df65f
commit 5793351fef
6 changed files with 16 additions and 19 deletions
+1 -3
View File
@@ -25,11 +25,9 @@ export async function addRole(
await requireBotGuildPermissions(guildId, ["MANAGE_ROLES"]);
const result = await rest.runMethod(
return await rest.runMethod<undefined>(
"put",
endpoints.GUILD_MEMBER_ROLE(guildId, memberId, roleId),
{ reason },
);
return result;
}