fixed config
This commit is contained in:
@@ -24,6 +24,7 @@ async function channelSet(interaction) {
|
|||||||
content: `Set <#${channel.id}> as ${purpose} channel!`, flags: MessageFlags.Ephemeral
|
content: `Set <#${channel.id}> as ${purpose} channel!`, flags: MessageFlags.Ephemeral
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
async function channelSimulate(interaction) {
|
async function channelSimulate(interaction) {
|
||||||
const purpose = interaction.options.getString('purpose')
|
const purpose = interaction.options.getString('purpose')
|
||||||
switch (purpose) {
|
switch (purpose) {
|
||||||
@@ -44,6 +45,7 @@ async function channelSimulate(interaction) {
|
|||||||
}
|
}
|
||||||
return interaction.reply({ content: 'Done.', flags: MessageFlags.Ephemeral })
|
return interaction.reply({ content: 'Done.', flags: MessageFlags.Ephemeral })
|
||||||
}
|
}
|
||||||
|
|
||||||
async function roleSet(interaction) {
|
async function roleSet(interaction) {
|
||||||
const guild = interaction.guild
|
const guild = interaction.guild
|
||||||
const purpose = interaction.options.getString('purpose')
|
const purpose = interaction.options.getString('purpose')
|
||||||
|
|||||||
Reference in New Issue
Block a user