mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-20 11:01:04 -05:00
Don't fail if replied message is deleted. Fixes #32.
This commit is contained in:
@@ -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 INVALID_GUILD_MESSAGE = 'This action must be performed within a server.';
|
||||||
|
|
||||||
const client = new Discord.Client<true>({
|
const client = new Discord.Client<true>({
|
||||||
|
failIfNotExists: false,
|
||||||
intents: [Discord.Intents.FLAGS.GUILD_MESSAGES, Discord.Intents.FLAGS.GUILDS],
|
intents: [Discord.Intents.FLAGS.GUILD_MESSAGES, Discord.Intents.FLAGS.GUILDS],
|
||||||
presence: {
|
presence: {
|
||||||
activities: [
|
activities: [
|
||||||
|
|||||||
Reference in New Issue
Block a user