mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
Merge branch 'main' of https://github.com/discordeno/discordeno into main
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { rest } from "../../rest/rest.ts";
|
||||
import { CreateGuildRole } from "../../types/mod.ts";
|
||||
import { endpoints } from "../../util/constants.ts";
|
||||
import {
|
||||
calculateBits,
|
||||
@@ -9,7 +10,7 @@ import {
|
||||
export async function editRole(
|
||||
guildId: string,
|
||||
id: string,
|
||||
options: CreateRoleOptions,
|
||||
options: CreateGuildRole,
|
||||
) {
|
||||
await requireBotGuildPermissions(guildId, ["MANAGE_ROLES"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user