Don't fail if replied message is deleted. Fixes #32.

This commit is contained in:
Charlie Laabs
2022-04-14 16:27:13 -05:00
parent 696a72257e
commit 8bfc3f91ef

View File

@@ -43,6 +43,7 @@ const INVALID_PERMISSIONS_MESSAGE = 'You do not have the permissions for this ac
const INVALID_GUILD_MESSAGE = 'This action must be performed within a server.';
const client = new Discord.Client<true>({
failIfNotExists: false,
intents: [Discord.Intents.FLAGS.GUILD_MESSAGES, Discord.Intents.FLAGS.GUILDS],
presence: {
activities: [