Added alias for soos, check if loaded commands end in .js, updated packages

This commit is contained in:
Essem 2022-01-23 20:57:11 -06:00
parent c80acc89bc
commit 92926e04a2
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
3 changed files with 1922 additions and 1447 deletions

View file

@ -9,11 +9,11 @@ class SooSCommand extends ImageCommand {
}
static description = "\"Loops\" an image sequence by reversing it when it's finished";
static aliases = ["bounce"];
static aliases = ["bounce", "boomerang"];
static requiresGIF = true;
static noImage = "You need to provide an image to loop!";
static command = "reverse";
}
export default SooSCommand;
export default SooSCommand;

3363
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -125,7 +125,7 @@ class Shard extends BaseClusterWorker {
for (const dirent of dirents) {
if (dirent.isDirectory()) {
yield* this.getFiles(dir + dirent.name);
} else {
} else if (dirent.name.endsWith(".js")) {
yield dir + (dir.charAt(dir.length - 1) !== "/" ? "/" : "") + dirent.name;
}
}