fix
This commit is contained in:
parent
d9bc1bae9b
commit
2c4f56c9b3
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ import {
|
||||||
MessageEmbed,
|
MessageEmbed,
|
||||||
MessageOptions,
|
MessageOptions,
|
||||||
ColorResolvable,
|
ColorResolvable,
|
||||||
|
MessageEditOptions,
|
||||||
} from "discord.js";
|
} from "discord.js";
|
||||||
import {
|
import {
|
||||||
starMessageData,
|
starMessageData,
|
||||||
|
@ -133,7 +134,7 @@ export class StarboardClient {
|
||||||
starboardChannel.messages
|
starboardChannel.messages
|
||||||
.fetch(getMessage.id)
|
.fetch(getMessage.id)
|
||||||
.then(publishedMessage => {
|
.then(publishedMessage => {
|
||||||
publishedMessage.edit(generateEdit);
|
publishedMessage.edit(generateEdit as MessageEditOptions);
|
||||||
})
|
})
|
||||||
.catch(sendMessage);
|
.catch(sendMessage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue