changed pkg.json

pull/17/head
TheCodedProf 3 years ago
parent e6ba788662
commit 60a1f49917

5094
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -40,7 +40,7 @@
"lint-fix": "echo 'Fixing eslint issues...'; eslint src --fix; echo 'Reformatting...'; prettier --write --loglevel warn --cache .; true",
"lint-list": "echo 'Style checking...'; prettier --check .; echo 'Linting...'; eslint src; echo 'To view errors in more detail, please run `yarn lint`'; true",
"setup": "node Installer.js",
"win-force-dev": "clear; rm -r dist; tsc-suppress && node --experimental-json-modules --enable-source-maps dist/index.js"
"win-force-build": "clear | rm -r dist | tsc-suppress"
},
"repository": {
"type": "git",

@ -26,7 +26,7 @@ export async function callback(client: NucleusClient, oldChannel: GuildChannel,
};
if (oldChannel.name !== newChannel.name) changes.name = entry([oldChannel.name, newChannel.name], `${oldChannel.name} -> ${newChannel.name}`);
if (oldChannel.position !== newChannel.position)
changes.position = entry([oldChannel.position, newChannel.position], `${oldChannel.position} -> ${newChannel.position}`);
changes.position = entry([oldChannel.position.toString(), newChannel.position.toString()], `${oldChannel.position} -> ${newChannel.position}`);
switch (newChannel.type) {
case "GUILD_TEXT": {

Loading…
Cancel
Save