mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Reformat all files with Prettier
This commit is contained in:
parent
0cde0d46d2
commit
ac79eb09f5
206 changed files with 727 additions and 888 deletions
|
@ -48,8 +48,9 @@ export async function muteAction(
|
|||
|
||||
const muteMessage = `Muted **${result.case.user_name}** ${
|
||||
durationMs ? `for ${humanizeDuration(durationMs)}` : "indefinitely"
|
||||
} (Case #${result.case.case_number}) (user notified via ${result.notifyResult.method ??
|
||||
"dm"})\nPlease update the new case with the \`update\` command`;
|
||||
} (Case #${result.case.case_number}) (user notified via ${
|
||||
result.notifyResult.method ?? "dm"
|
||||
})\nPlease update the new case with the \`update\` command`;
|
||||
|
||||
interaction.followUp({ ephemeral: true, content: muteMessage });
|
||||
} catch (e) {
|
||||
|
|
|
@ -26,7 +26,7 @@ export async function loadAllCommands(pluginData: GuildPluginData<ContextMenuPlu
|
|||
newCommands.push(data);
|
||||
}
|
||||
|
||||
const setCommands = await comms.set(newCommands, pluginData.guild.id).catch(e => {
|
||||
const setCommands = await comms.set(newCommands, pluginData.guild.id).catch((e) => {
|
||||
pluginData.getPlugin(LogsPlugin).logBotAlert({ body: `Unable to overwrite context menus: ${e}` });
|
||||
return undefined;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue