Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Ensure that commands do not interact with other bots #9

Description

@DevJake

Some bots will often have similar features. If someone were to trigger both commands with one message, they could potentially cause a loop.

bots responding to other bots with say commands -say !say chain with an @everyone mention at the end
Relevant

To prevent this, simply use the User#isBot() method of JDA to check if the command issuer is a bot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions