Skip to content

Conversation

@schiltz3
Copy link
Collaborator

Fix attempting to assign class role on every poll

Adding a new class role was outside the correct if block for the class poll. This fix moves the addNewRole call inside the corresponding if block

Link to github card

closes #82

Changes

  • Move function call into if block

@schiltz3 schiltz3 requested a review from nathen418 December 27, 2022 02:01
@schiltz3 schiltz3 self-assigned this Dec 27, 2022
@schiltz3 schiltz3 changed the base branch from main to staging December 27, 2022 02:01
@nathen418 nathen418 enabled auto-merge December 27, 2022 17:19
@schiltz3 schiltz3 disabled auto-merge December 27, 2022 22:31
@schiltz3 schiltz3 merged commit 83e64fd into staging Dec 28, 2022
@schiltz3 schiltz3 deleted the bugfix/schiltz3/add-class-role branch December 28, 2022 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

Bug: Bot attempts to assign class role every time a poll is interacted with

3 participants