⚰️ organized imports

This commit is contained in:
Axel Olausson Holtenäs 2022-08-28 00:17:04 +02:00
parent b6c9954069
commit 012d2ce6bf
7 changed files with 7 additions and 7 deletions

View file

@ -3,8 +3,8 @@ import logger from "../../../../../middlewares/logger";
import { IShopRole } from "../../../../../interfaces/ShopRole";
import guildSchema from "../../../../../models/guild";
import userSchema from "../../../../../models/user";
import shopRoleSchema from "../../../../../models/shopRole";
import userSchema from "../../../../../models/user";
export const execute = async (client: Client, role: IShopRole) => {
const { guildId, userId, roleId } = role;

View file

@ -3,8 +3,8 @@ import { Client } from "discord.js";
import { IShopRole } from "../../../../interfaces/ShopRole";
import shopRoleSchema from "../../../../models/shopRole";
import * as overDueForPayment from "./components/overDueForPayment";
import * as dueForPayment from "./components/dueForPayment";
import * as overDueForPayment from "./components/overDueForPayment";
export const execute = async (client: Client) => {
const roles = await shopRoleSchema.find();

View file

@ -1,5 +1,5 @@
import { Schema, model } from "mongoose";
import { Snowflake } from "discord.js";
import { model, Schema } from "mongoose";
export interface ICounter {
guildId: Snowflake;

View file

@ -1,5 +1,5 @@
import { ColorResolvable } from "discord.js";
import { Schema, model } from "mongoose";
import { model, Schema } from "mongoose";
interface IGuild {
guildId: string;

View file

@ -1,5 +1,5 @@
import { Snowflake } from "discord.js";
import { Schema, model } from "mongoose";
import { model, Schema } from "mongoose";
export interface IShopRole {
roleId: Snowflake;

View file

@ -1,5 +1,5 @@
import { Snowflake } from "discord.js";
import { Schema, model } from "mongoose";
import { model, Schema } from "mongoose";
export interface ITimeout {
userId: Snowflake;

View file

@ -1,5 +1,5 @@
import { Snowflake } from "discord.js";
import { Schema, model } from "mongoose";
import { model, Schema } from "mongoose";
export interface IUser {
guildId: Snowflake;