aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-21 23:35:13 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-21 23:35:13 -0400
commit44521f4560dc8b0bab055685437d8fa65a34377f (patch)
tree4750c8cf696a2489964edc409e640f6792ed92b6 /src/commands/dev
parenta8b3f2d258d6ef19aeff2c9d60d6b08a91277b2b (diff)
downloadtanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.gz
tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.bz2
tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.zip
misc
Diffstat (limited to 'src/commands/dev')
-rw-r--r--src/commands/dev/test.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts
index a1e5052..38ea920 100644
--- a/src/commands/dev/test.ts
+++ b/src/commands/dev/test.ts
@@ -107,19 +107,19 @@ export default class TestCommand extends BushCommand {
fields.push({ name: `Field ${i}`, value: `Field Value ${i}` });
}
const c = util.colors;
- const o = { description, author, footer, fields }!;
+ const o = { description, author, footer, fields, time: Date.now() };
const embeds = [
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 0', color: c.red } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 1', color: c.orange } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 2', color: c.gold } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 3', color: c.yellow } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 4', color: c.green } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 5', color: c.darkGreen } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 6', color: c.aqua } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 7', color: c.blue } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 8', color: c.purple } }).setTimestamp(),
- new MessageEmbed({ ...o, ...{ title: 'Embed Title 9', color: c.pink } }).setTimestamp()
+ { ...o, title: 'Embed Title 0', color: c.red },
+ { ...o, title: 'Embed Title 1', color: c.orange },
+ { ...o, title: 'Embed Title 2', color: c.gold },
+ { ...o, title: 'Embed Title 3', color: c.yellow },
+ { ...o, title: 'Embed Title 4', color: c.green },
+ { ...o, title: 'Embed Title 5', color: c.darkGreen },
+ { ...o, title: 'Embed Title 6', color: c.aqua },
+ { ...o, title: 'Embed Title 7', color: c.blue },
+ { ...o, title: 'Embed Title 8', color: c.purple },
+ { ...o, title: 'Embed Title 9', color: c.pink }
];
const ButtonRows: MessageActionRow[] = [];