types a bit
This commit is contained in:
parent
c33398474e
commit
d394096de3
7 changed files with 8 additions and 8 deletions
|
@ -30,6 +30,6 @@ export const cmd: Command = {
|
|||
embed.addField('!' + cmd.name, resp.join('\n'));
|
||||
}
|
||||
|
||||
return e.reply({ embeds: [embed] });
|
||||
await e.reply({ embeds: [embed] });
|
||||
},
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@ export const cmd: Command = {
|
|||
const memes = await e.guild?.members.fetch().then((r) => r.toJSON());
|
||||
if (!memes) return;
|
||||
|
||||
return e.reply({
|
||||
await e.reply({
|
||||
embeds: [
|
||||
{
|
||||
title: `${memes.length} total members!`,
|
||||
|
|
|
@ -5,6 +5,6 @@ export const cmd: Command = {
|
|||
desc: 'Shows the ping of the bot',
|
||||
aliases: ['test'],
|
||||
exec: async (e) => {
|
||||
return await e.reply(`${e.client.ws.ping}ms`);
|
||||
await e.reply(`${e.client.ws.ping}ms`);
|
||||
},
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@ export const cmd: Command = {
|
|||
const count = await fetch('https://api.github.com/repos/PolyMC/PolyMC')
|
||||
.then((r) => r.json() as Promise<{ stargazers_count: number }>)
|
||||
.then((j) => j.stargazers_count);
|
||||
return e.reply({
|
||||
await e.reply({
|
||||
embeds: [
|
||||
{
|
||||
title: `⭐ ${count} total stars!`,
|
||||
|
|
|
@ -22,6 +22,6 @@ export const cmd: Command = {
|
|||
}
|
||||
em.addField(tag.name, text);
|
||||
}
|
||||
return e.reply({ embeds: [em] });
|
||||
await e.reply({ embeds: [em] });
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue