mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 17:44:15 +02:00
refactor(arabot): run prettier
This commit is contained in:
parent
0ac0ff7f5c
commit
dba9aa970e
@ -23,7 +23,10 @@ import { EmbedBuilder } from 'discord.js';
|
|||||||
import IDs from '#utils/ids';
|
import IDs from '#utils/ids';
|
||||||
import { addBan, checkBan } from '#utils/database/moderation/ban';
|
import { addBan, checkBan } from '#utils/database/moderation/ban';
|
||||||
import { addEmptyUser, updateUser } from '#utils/database/dbExistingUser';
|
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 {
|
export class BanCommand extends Command {
|
||||||
public constructor(context: Command.LoaderContext, options: Command.Options) {
|
public constructor(context: Command.LoaderContext, options: Command.Options) {
|
||||||
|
@ -29,7 +29,10 @@ import type {
|
|||||||
import { EmbedBuilder } from 'discord.js';
|
import { EmbedBuilder } from 'discord.js';
|
||||||
import IDs from '#utils/ids';
|
import IDs from '#utils/ids';
|
||||||
import { removeBan, checkBan, addBan } from '#utils/database/moderation/ban';
|
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';
|
import { addEmptyUser, addExistingUser } from '#utils/database/dbExistingUser';
|
||||||
|
|
||||||
export class UnbanCommand extends Command {
|
export class UnbanCommand extends Command {
|
||||||
|
@ -19,7 +19,11 @@
|
|||||||
|
|
||||||
import { Args, Command, RegisterBehavior } from '@sapphire/framework';
|
import { Args, Command, RegisterBehavior } from '@sapphire/framework';
|
||||||
import type { GuildMember, Message } from 'discord.js';
|
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';
|
import { addExistingUser } from '#utils/database/dbExistingUser';
|
||||||
|
|
||||||
export class VCMuteCommand extends Command {
|
export class VCMuteCommand extends Command {
|
||||||
|
@ -21,7 +21,10 @@ import { Args, Command, RegisterBehavior } from '@sapphire/framework';
|
|||||||
import { EmbedBuilder, TextChannel } from 'discord.js';
|
import { EmbedBuilder, TextChannel } from 'discord.js';
|
||||||
import type { Message, Guild, User } from 'discord.js';
|
import type { Message, Guild, User } from 'discord.js';
|
||||||
import IDs from '#utils/ids';
|
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';
|
import { checkStaff } from '#utils/checker';
|
||||||
|
|
||||||
export class DeleteWarningCommand extends Command {
|
export class DeleteWarningCommand extends Command {
|
||||||
|
@ -22,7 +22,10 @@ import { ChannelType } from 'discord.js';
|
|||||||
import type { GuildChannel, EmbedBuilder } from 'discord.js';
|
import type { GuildChannel, EmbedBuilder } from 'discord.js';
|
||||||
import { setTimeout } from 'timers/promises';
|
import { setTimeout } from 'timers/promises';
|
||||||
import IDs from '#utils/ids';
|
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 { findNotes } from '#utils/database/moderation/sus';
|
||||||
import {
|
import {
|
||||||
createRestrictLogEmbed,
|
createRestrictLogEmbed,
|
||||||
|
@ -28,7 +28,10 @@ import type {
|
|||||||
import { ChannelType } from 'discord.js';
|
import { ChannelType } from 'discord.js';
|
||||||
import { fetchRoles, getLeaveRoles } from '#utils/database/dbExistingUser';
|
import { fetchRoles, getLeaveRoles } from '#utils/database/dbExistingUser';
|
||||||
import { blockTime } from '#utils/database/verification';
|
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 { blockedRoles, blockedRolesAfterRestricted } from '#utils/blockedRoles';
|
||||||
import IDs from '#utils/ids';
|
import IDs from '#utils/ids';
|
||||||
|
|
||||||
|
@ -21,7 +21,10 @@ import { ScheduledTask } from '@sapphire/plugin-scheduled-tasks';
|
|||||||
import IDs from '#utils/ids';
|
import IDs from '#utils/ids';
|
||||||
import { EmbedBuilder } from 'discord.js';
|
import { EmbedBuilder } from 'discord.js';
|
||||||
import { checkBan } from '#utils/database/moderation/ban';
|
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 {
|
export class TempBan extends ScheduledTask {
|
||||||
public constructor(
|
public constructor(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user