message: Update get_slash_commands.ts
diff: @@ -6,12 +6,12 @@ import { endpoints } from "../../util/constants.ts";
  /** Fetch all of the global commands for your application. */
  export async function getSlashCommands(guildId?: string) {
  - const result = (await rest.runMethod(
  + const result = await rest.runMethod<ApplicationCommand[]>(
  "get",
  guildId
  ? endpoints.COMMANDS_GUILD(applicationId, guildId)
  : endpoints.COMMANDS(applicationId),
  - )) as ApplicationCommand[];
  + );
  return new Collection(result.map((command) => [command.name, command]));
  }
  