mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-14 11:19:24 +00:00
✨ feat: Add unfinished purge message command
This commit is contained in:
@@ -152,9 +152,8 @@ export async function sendMessage(
|
||||
else message = await channel.send(options);
|
||||
} catch (error) {
|
||||
if (typeof user === 'undefined') {
|
||||
return Logger.error(
|
||||
`Cannot find available destinations to send the message CID: ${channel.id} C_ERR: ${error}`
|
||||
);
|
||||
Logger.error(`Cannot find available destinations to send the message CID: ${channel.id} C_ERR: ${error}`);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
message = await user.send(options);
|
||||
|
||||
Reference in New Issue
Block a user