import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";
Modify a guild widget object for the guild. All attributes may be passed in with JSON and modified. Requires the MANAGE_GUILD
permission. Returns the updated guild widget object.
Parameters
payload: Partial<GuildWidgetPayload>
Returns
Promise<GuildWidgetPayload>