refactor(arabot): run prettier

This commit is contained in:
Anthony Berg 2024-08-07 01:39:21 +02:00
parent 0ac0ff7f5c
commit dba9aa970e
7 changed files with 29 additions and 7 deletions

View File

@ -23,7 +23,10 @@ import { EmbedBuilder } from 'discord.js';
import IDs from '#utils/ids';
import { addBan, checkBan } from '#utils/database/moderation/ban';
import { addEmptyUser, updateUser } from '#utils/database/dbExistingUser';
import { checkTempBan, removeTempBan } from '#utils/database/moderation/tempBan';
import {
checkTempBan,
removeTempBan,
} from '#utils/database/moderation/tempBan';
export class BanCommand extends Command {
public constructor(context: Command.LoaderContext, options: Command.Options) {

View File

@ -29,7 +29,10 @@ import type {
import { EmbedBuilder } from 'discord.js';
import IDs from '#utils/ids';
import { removeBan, checkBan, addBan } from '#utils/database/moderation/ban';
import { checkTempBan, removeTempBan } from '#utils/database/moderation/tempBan';
import {
checkTempBan,
removeTempBan,
} from '#utils/database/moderation/tempBan';
import { addEmptyUser, addExistingUser } from '#utils/database/dbExistingUser';
export class UnbanCommand extends Command {

View File

@ -19,7 +19,11 @@
import { Args, Command, RegisterBehavior } from '@sapphire/framework';
import type { GuildMember, Message } from 'discord.js';
import { addMute, removeMute, checkActive } from '#utils/database/moderation/vcMute';
import {
addMute,
removeMute,
checkActive,
} from '#utils/database/moderation/vcMute';
import { addExistingUser } from '#utils/database/dbExistingUser';
export class VCMuteCommand extends Command {

View File

@ -21,7 +21,10 @@ import { Args, Command, RegisterBehavior } from '@sapphire/framework';
import { EmbedBuilder, TextChannel } from 'discord.js';
import type { Message, Guild, User } from 'discord.js';
import IDs from '#utils/ids';
import { deleteWarning, fetchWarning } from '#utils/database/moderation/warnings';
import {
deleteWarning,
fetchWarning,
} from '#utils/database/moderation/warnings';
import { checkStaff } from '#utils/checker';
export class DeleteWarningCommand extends Command {

View File

@ -22,7 +22,10 @@ import { ChannelType } from 'discord.js';
import type { GuildChannel, EmbedBuilder } from 'discord.js';
import { setTimeout } from 'timers/promises';
import IDs from '#utils/ids';
import { checkActive, getRestrictions } from '#utils/database/moderation/restriction';
import {
checkActive,
getRestrictions,
} from '#utils/database/moderation/restriction';
import { findNotes } from '#utils/database/moderation/sus';
import {
createRestrictLogEmbed,

View File

@ -28,7 +28,10 @@ import type {
import { ChannelType } from 'discord.js';
import { fetchRoles, getLeaveRoles } from '#utils/database/dbExistingUser';
import { blockTime } from '#utils/database/verification';
import { checkActive, getSection } from '#utils/database/moderation/restriction';
import {
checkActive,
getSection,
} from '#utils/database/moderation/restriction';
import { blockedRoles, blockedRolesAfterRestricted } from '#utils/blockedRoles';
import IDs from '#utils/ids';

View File

@ -21,7 +21,10 @@ import { ScheduledTask } from '@sapphire/plugin-scheduled-tasks';
import IDs from '#utils/ids';
import { EmbedBuilder } from 'discord.js';
import { checkBan } from '#utils/database/moderation/ban';
import { checkTempBan, removeTempBan } from '#utils/database/moderation/tempBan';
import {
checkTempBan,
removeTempBan,
} from '#utils/database/moderation/tempBan';
export class TempBan extends ScheduledTask {
public constructor(