mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-06 10:37:19 +00:00
neovim issue
neovim plugin removes comments, so revert that sorry
This commit is contained in:
parent
1439b40b23
commit
4084e82aa0
1 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,7 @@ export const AddCaseSlashCmd = modActionsSlashCmd({
|
||||||
await interaction.deferReply({ ephemeral: true });
|
await interaction.deferReply({ ephemeral: true });
|
||||||
const attachments = retrieveMultipleOptions(NUMBER_ATTACHMENTS_CASE_CREATION, options, "attachment");
|
const attachments = retrieveMultipleOptions(NUMBER_ATTACHMENTS_CASE_CREATION, options, "attachment");
|
||||||
|
|
||||||
|
// The moderator who did the action is the message author or, if used, the specified -mod
|
||||||
let mod = interaction.member as GuildMember;
|
let mod = interaction.member as GuildMember;
|
||||||
const canActAsOther = await hasPermission(pluginData, "can_act_as_other", {
|
const canActAsOther = await hasPermission(pluginData, "can_act_as_other", {
|
||||||
channel: interaction.channel,
|
channel: interaction.channel,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue