1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 09:03:50 -04:00

Added !o !<>= and !o<>=, updated embeds to be more consistent, started coloring embeds

This commit is contained in:
Ean Milligan (Bastion)
2022-05-18 04:48:52 -04:00
parent 26b9309aa3
commit 733908f2c0
4 changed files with 167 additions and 110 deletions

View File

@@ -86,9 +86,7 @@ export const getModifiers = (m: DiscordenoMessage, args: string[], command: stri
i--;
break;
case "-o":
console.log(args)
args.splice(i, 1);
console.log(args)
if (!args[i] || args[i].toLowerCase()[0] !== "d" && args[i].toLowerCase()[0] !== "a") {
// If -o is on and asc or desc was not specified, error out