Differentiation between bot user and webhook
Currently i have
if (message.author.bot) return;
to make my bot not interact with messages from other bots.
How can i improve that to allow it to interact with webhook messages but not bot messages?4 Replies
you can also check if
<Message>.webhookId
is presentthanks a lot
The thread owner has marked this issue as solved.