Stop creating another message
parent
9eca427ce9
commit
f0385ce177
|
@ -54,7 +54,7 @@ export default class Modlogs extends Command {
|
||||||
|
|
||||||
if (embeds.length === 1) {
|
if (embeds.length === 1) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
message.channel.createMessage({ embed: embeds[0] });
|
msg.edit({ content: '', embed: embeds[0] });
|
||||||
} else {
|
} else {
|
||||||
createPaginationEmbed(message, this.client, embeds, {}, msg);
|
createPaginationEmbed(message, this.client, embeds, {}, msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue