⚰️ organized imports
This commit is contained in:
parent
b6c9954069
commit
012d2ce6bf
7 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Schema, model } from "mongoose";
|
||||
import { Snowflake } from "discord.js";
|
||||
import { model, Schema } from "mongoose";
|
||||
|
||||
export interface ICounter {
|
||||
guildId: Snowflake;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { ColorResolvable } from "discord.js";
|
||||
import { Schema, model } from "mongoose";
|
||||
import { model, Schema } from "mongoose";
|
||||
|
||||
interface IGuild {
|
||||
guildId: string;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Snowflake } from "discord.js";
|
||||
import { Schema, model } from "mongoose";
|
||||
import { model, Schema } from "mongoose";
|
||||
|
||||
export interface IShopRole {
|
||||
roleId: Snowflake;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Snowflake } from "discord.js";
|
||||
import { Schema, model } from "mongoose";
|
||||
import { model, Schema } from "mongoose";
|
||||
|
||||
export interface ITimeout {
|
||||
userId: Snowflake;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Snowflake } from "discord.js";
|
||||
import { Schema, model } from "mongoose";
|
||||
import { model, Schema } from "mongoose";
|
||||
|
||||
export interface IUser {
|
||||
guildId: Snowflake;
|
||||
|
|
Loading…
Add table
Reference in a new issue