Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception for dev/prod bot when replying #89

Closed
howardt12345 opened this issue Jul 16, 2024 · 1 comment · Fixed by #99
Closed

Exception for dev/prod bot when replying #89

howardt12345 opened this issue Jul 16, 2024 · 1 comment · Fixed by #99
Labels
bug Something isn't working

Comments

@howardt12345
Copy link
Member

When the dev bot pings the prod bot, it'll cause an infinite loop of pinging each other. Should address this

@chanomkaimuk
Copy link
Contributor

You can check if the user is a bot using the discord.ClientUser.bot apparently

Docs

@chanomkaimuk chanomkaimuk added the bug Something isn't working label Aug 1, 2024
@howardt12345 howardt12345 linked a pull request Aug 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants