generated from Baipyrus/DiscordJS-Template
group imports in shared
This commit is contained in:
parent
2c7dd26189
commit
81bb307896
@ -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'];
|
||||||
|
Loading…
Reference in New Issue
Block a user