3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-08 11:37:20 +00:00

Ran prettier to fix style issues

This commit is contained in:
Lily Bergonzat 2024-05-12 21:34:17 +02:00
parent 893a77d562
commit 1f0c7a4349
170 changed files with 396 additions and 453 deletions

View file

@ -1,4 +1,3 @@
import { CommonPlugin } from "../../Common/CommonPlugin";
import { getGuildTz } from "../functions/getGuildTz";
import { timeAndDateCmd } from "../types";
@ -11,6 +10,9 @@ export const ResetTimezoneCmd = timeAndDateCmd({
async run({ pluginData, message }) {
await pluginData.state.memberTimezones.reset(message.author.id);
const serverTimezone = getGuildTz(pluginData);
void pluginData.state.common.sendSuccessMessage(message, `Your timezone has been reset to server default, **${serverTimezone}**`);
void pluginData.state.common.sendSuccessMessage(
message,
`Your timezone has been reset to server default, **${serverTimezone}**`,
);
},
});

View file

@ -2,7 +2,6 @@ import { escapeInlineCode } from "discord.js";
import { commandTypeHelpers as ct } from "../../../commandTypes";
import { trimLines } from "../../../utils";
import { parseFuzzyTimezone } from "../../../utils/parseFuzzyTimezone";
import { CommonPlugin } from "../../Common/CommonPlugin";
import { timeAndDateCmd } from "../types";
export const SetTimezoneCmd = timeAndDateCmd({