Release/1.0.0 beta.3 #10

Merged
AstroGD merged 20 commits from release/1.0.0-beta.3 into main 2022-11-25 19:49:57 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 966625bac4 - Show all commits

View File

@ -1,4 +1,4 @@
import * as notification from "./notification"; import * as notification from "./logchannel";
import * as blocklist from "./blocklist"; import * as blocklist from "./blocklist";
import * as info from "./info"; import * as info from "./info";
import * as preserveSettings from "./preserveSettings"; import * as preserveSettings from "./preserveSettings";

View File

@ -1,5 +1,5 @@
import { ChatInputCommandInteraction, Collection, Events, SlashCommandBuilder } from "discord.js"; import { ChatInputCommandInteraction, Collection, Events, SlashCommandBuilder } from "discord.js";
import * as notification from "./notification"; import * as notification from "./logchannel";
import * as blocklist from "./blocklist"; import * as blocklist from "./blocklist";
import * as info from "./info"; import * as info from "./info";
import * as preserveSettings from "./preserveSettings"; import * as preserveSettings from "./preserveSettings";

View File

@ -9,7 +9,7 @@ const builder = new SlashCommandBuilder();
builder.setName("logchannel"); builder.setName("logchannel");
builder.setDescription("Configures the log channel"); builder.setDescription("Configures the log channel");
builder.setDMPermission(false); builder.setDMPermission(false);
builder.setDefaultMemberPermissions(PermissionFlagsBits.ManageChannels); builder.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild);
builder.addChannelOption((option) => { builder.addChannelOption((option) => {
option.addChannelTypes(ChannelType.GuildText, ChannelType.GuildAnnouncement); option.addChannelTypes(ChannelType.GuildText, ChannelType.GuildAnnouncement);
option.setName("channel"); option.setName("channel");