Bug Fix
This commit is contained in:
@@ -276,7 +276,7 @@ client.on(Discord.Events.MessageCreate, async (message) => {
|
|||||||
const msgToEdit = await channel1.messages.fetch(messageId1);
|
const msgToEdit = await channel1.messages.fetch(messageId1);
|
||||||
await msgToEdit.edit({ embeds: [colors] });
|
await msgToEdit.edit({ embeds: [colors] });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
message.channel.send({ embeds: [rules] });
|
message.channel.send({ embeds: [colors] });
|
||||||
}
|
}
|
||||||
|
|
||||||
message.delete();
|
message.delete();
|
||||||
|
|||||||
Reference in New Issue
Block a user