mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-13 16:43:04 -04:00
style: Sort imports
This commit is contained in:
parent
a7dbd73547
commit
61fd38d6d9
57 changed files with 133 additions and 114 deletions
|
@ -16,10 +16,11 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { filters, waitFor } from "../../webpack";
|
||||
import type { PartialDeep } from "type-fest";
|
||||
import { Message } from "discord-types/general";
|
||||
import type { PartialDeep } from "type-fest";
|
||||
|
||||
import { lazyWebpack, mergeDefaults } from "../../utils/misc";
|
||||
import { filters, waitFor } from "../../webpack";
|
||||
import { Argument } from "./types";
|
||||
|
||||
const createBotMessage = lazyWebpack(filters.byCode('username:"Clyde"'));
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
|
||||
import { makeCodeblock } from "../../utils/misc";
|
||||
import { generateId, sendBotMessage } from "./commandHelpers";
|
||||
import { ApplicationCommandInputType, ApplicationCommandType, Argument, Command, CommandContext, Option, CommandReturnValue } from "./types";
|
||||
import { ApplicationCommandInputType, ApplicationCommandType, Argument, Command, CommandContext, CommandReturnValue,Option } from "./types";
|
||||
|
||||
export * from "./types";
|
||||
export * from "./commandHelpers";
|
||||
export * from "./types";
|
||||
|
||||
export let BUILT_IN: Command[];
|
||||
export const commands = {} as Record<string, Command>;
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import type { Message, Channel } from "discord-types/general";
|
||||
import type { Channel,Message } from "discord-types/general";
|
||||
|
||||
import Logger from "../utils/logger";
|
||||
|
||||
const MessageEventsLogger = new Logger("MessageEvents", "#e5c890");
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import * as $MessageEventsAPI from "./MessageEvents";
|
||||
import * as $Notices from "./Notices";
|
||||
import * as $Commands from "./Commands";
|
||||
import * as $DataStore from "./DataStore";
|
||||
import * as $MessageAccessories from "./MessageAccessories";
|
||||
import * as $MessageEventsAPI from "./MessageEvents";
|
||||
import * as $Notices from "./Notices";
|
||||
|
||||
/**
|
||||
* An API allowing you to listen to Message Clicks or run your own logic
|
||||
|
@ -58,4 +58,4 @@ const DataStore = $DataStore;
|
|||
*/
|
||||
const MessageAccessories = $MessageAccessories;
|
||||
|
||||
export { DataStore, MessageAccessories, MessageEvents, Notices, Commands };
|
||||
export { Commands,DataStore, MessageAccessories, MessageEvents, Notices };
|
||||
|
|
|
@ -17,10 +17,11 @@
|
|||
*/
|
||||
|
||||
import plugins from "plugins";
|
||||
|
||||
import IpcEvents from "../utils/IpcEvents";
|
||||
import { React } from "../webpack/common";
|
||||
import { mergeDefaults } from "../utils/misc";
|
||||
import { OptionType } from "../utils/types";
|
||||
import { React } from "../webpack/common";
|
||||
|
||||
export interface Settings {
|
||||
notifyAboutUpdates: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue