group imports in shared

This commit is contained in:
Baipyrus 2024-02-08 19:09:17 +01:00
parent 2c7dd26189
commit 81bb307896

View File

@ -1,4 +1,6 @@
import { join } from 'path';
import { Op } from 'sequelize'; import { Op } from 'sequelize';
import { readdir } from 'fs/promises';
import { Message, RoleEmojiPair } from './database.js'; import { Message, RoleEmojiPair } from './database.js';
const saveMessageData = async (id, role, emoji) => { const saveMessageData = async (id, role, emoji) => {
@ -62,8 +64,6 @@ export const addSelfRoles = async (interaction, msgID, role, emoji) => {
}); });
} }
}; };
import { join } from 'path';
import { readdir } from 'fs/promises';
const required = ['data', 'execute']; const required = ['data', 'execute'];
const optional = ['autocomplete', 'modalSubmit']; const optional = ['autocomplete', 'modalSubmit'];