diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index c94adf9bf..4e044c94b 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -289,7 +289,7 @@ function runTime(token: string) { setTimeout(() => console.log("PUPPETEER_TEST_DONE_SIGNAL"), 1000); }, 1000)); } catch (e) { - console.error("[PUP_DEBUG]", "A fatal error occured"); + console.error("[PUP_DEBUG]", "A fatal error occurred"); console.error("[PUP_DEBUG]", e); process.exit(1); } diff --git a/src/api/ContextMenu.ts b/src/api/ContextMenu.ts index 156ae209a..d66d98c4f 100644 --- a/src/api/ContextMenu.ts +++ b/src/api/ContextMenu.ts @@ -69,7 +69,7 @@ export function addGlobalContextMenuPatch(patch: GlobalContextMenuPatchCallback) * Remove a context menu patch * @param navId The navId(s) for the context menu(s) to remove the patch * @param patch The patch to be removed - * @returns Wheter the patch was sucessfully removed from the context menu(s) + * @returns Whether the patch was successfully removed from the context menu(s) */ export function removeContextMenuPatch>(navId: T, patch: NavContextMenuPatchCallback): T extends string ? boolean : Array { const navIds = Array.isArray(navId) ? navId : [navId as string]; @@ -82,7 +82,7 @@ export function removeContextMenuPatch>(navId: /** * Remove a global context menu patch * @param patch The patch to be removed - * @returns Wheter the patch was sucessfully removed + * @returns Whether the patch was successfully removed */ export function removeGlobalContextMenuPatch(patch: GlobalContextMenuPatchCallback): boolean { return globalPatches.delete(patch); diff --git a/src/components/VencordSettings/UpdaterTab.tsx b/src/components/VencordSettings/UpdaterTab.tsx index 6766cf08a..81433960f 100644 --- a/src/components/VencordSettings/UpdaterTab.tsx +++ b/src/components/VencordSettings/UpdaterTab.tsx @@ -46,7 +46,7 @@ function withDispatcher(dispatcher: React.Dispatch if (code === "ENOENT") var err = `Command \`${path}\` not found.\nPlease install it and try again`; else { - var err = `An error occured while running \`${cmd}\`:\n`; + var err = `An error occurred while running \`${cmd}\`:\n`; err += stderr || `Code \`${code}\`. See the console for more info`; } diff --git a/src/plugins/customRPC/index.tsx b/src/plugins/customRPC/index.tsx index 25ad7b3e6..8ed741215 100644 --- a/src/plugins/customRPC/index.tsx +++ b/src/plugins/customRPC/index.tsx @@ -395,7 +395,7 @@ export default definePlugin({ return ( <> - Go to Discord Deverloper Portal to create an application and + Go to Discord Developer Portal to create an application and get the application ID. diff --git a/src/plugins/spotifyControls/spotifyStyles.css b/src/plugins/spotifyControls/spotifyStyles.css index a9b985161..9e585ebec 100644 --- a/src/plugins/spotifyControls/spotifyStyles.css +++ b/src/plugins/spotifyControls/spotifyStyles.css @@ -2,7 +2,7 @@ padding: 0.375rem 0.5rem; border-bottom: 1px solid var(--background-modifier-accent); - --vc-spotify-green: #1db954; /* so cusotm themes can easily change it */ + --vc-spotify-green: #1db954; /* so custom themes can easily change it */ } .theme-light #vc-spotify-player { @@ -167,7 +167,7 @@ } #vc-spotify-progress-bar > [class^="slider"] [class^="grabber"] { - /* these importants are neccessary, it applies a width and height through inline styles */ + /* these importants are necessary, it applies a width and height through inline styles */ height: 10px !important; width: 10px !important; background-color: var(--interactive-normal); diff --git a/src/utils/types.ts b/src/utils/types.ts index 7b682e9b9..ff2c79af3 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -269,7 +269,7 @@ export interface DefinedSettings< store: SettingsStore & PrivateSettings; /** * React hook for getting the settings for this plugin - * @param filter optional filter to avoid rerenders for irrelavent settings + * @param filter optional filter to avoid rerenders for irrelevent settings */ use>(filter?: F[]): Pick & PrivateSettings, F>; /** Definitions of each setting */ diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 23ef99e24..b81415e61 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -29,7 +29,7 @@ let webpackChunk: any[]; const logger = new Logger("WebpackInterceptor", "#8caaee"); if (window[WEBPACK_CHUNK]) { - logger.info(`Patching ${WEBPACK_CHUNK}.push (was already existant, likely from cache!)`); + logger.info(`Patching ${WEBPACK_CHUNK}.push (was already existent, likely from cache!)`); _initWebpack(window[WEBPACK_CHUNK]); patchPush(window[WEBPACK_CHUNK]); } else {