Discord bot crashes when message contain mention

undefined:1
(@!310599774002872330)
 ^

SyntaxError: Invalid or unexpected token

Commands work fine but whenever it involves a mention/ping it crashes the bot and spits out the above error.



from Recent Questions - Stack Overflow https://ift.tt/3b1xk5G
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations