mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
i like to make people happy 2.0
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
0205dcc3ad
commit
a61aa4eaaf
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ export async function removeMessageFromStarboard(
|
|||
);
|
||||
if (!channel?.isText()) return;
|
||||
const message = await channel.messages.fetch(msg.starboard_message_id);
|
||||
if (!message || !message.deletable) return;
|
||||
if (!message?.deletable) return;
|
||||
await message.delete().catch(noop);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue