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,
|
||||
MessageOptions,
|
||||
ColorResolvable,
|
||||
MessageEditOptions,
|
||||
} from "discord.js";
|
||||
import {
|
||||
starMessageData,
|
||||
|
@ -133,7 +134,7 @@ export class StarboardClient {
|
|||
starboardChannel.messages
|
||||
.fetch(getMessage.id)
|
||||
.then(publishedMessage => {
|
||||
publishedMessage.edit(generateEdit);
|
||||
publishedMessage.edit(generateEdit as MessageEditOptions);
|
||||
})
|
||||
.catch(sendMessage);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue