Skip to content

Commit 97f5040

Browse files
authored
Merge pull request #20 from HeDeAnTheonlyone/main
fixed an oversight that broke the resolve button
2 parents 5ac8aca + 739d73a commit 97f5040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/events/button_click.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async def on_button_click(self, inter: disnake.MessageInteraction):
1616
if inter.component.custom_id == "resolve_question_button":
1717
role = inter.guild.get_role(variables.helper)
1818
if (inter.channel.owner_id == inter.user.id) or (role in inter.user.roles):
19-
if len(inter.channel.applied_tags.count) == 5:
19+
if len(inter.channel.applied_tags) == 5:
2020
await inter.response.send_message("This post has too many tags and the resolved tag cannot be applied. Please remove the least important one to properly resolve it.")
2121
else:
2222
await inter.response.send_message("Done.")

0 commit comments

Comments
 (0)