Skip to content

Commit

Permalink
doc: remove logging for upvotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Skelmis committed Nov 4, 2022
1 parent fc6814b commit 192f0d6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions suggestions/cogs/suggestion_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ async def suggestion_up_vote(
),
ephemeral=True,
)
log.debug(
"Member %s modified their vote on %s to an up vote",
member_id,
suggestion_id,
)
# log.debug(
# "Member %s modified their vote on %s to an up vote",
# member_id,
# suggestion_id,
# )
return

suggestion.up_voted_by.add(member_id)
Expand All @@ -93,7 +93,7 @@ async def suggestion_up_vote(
),
ephemeral=True,
)
log.debug("Member %s up voted suggestion %s", member_id, suggestion_id)
# log.debug("Member %s up voted suggestion %s", member_id, suggestion_id)

@components.button_listener()
async def suggestion_down_vote(
Expand Down Expand Up @@ -141,11 +141,11 @@ async def suggestion_down_vote(
),
ephemeral=True,
)
log.debug(
"Member %s modified their vote on %s to a down vote",
member_id,
suggestion_id,
)
# log.debug(
# "Member %s modified their vote on %s to a down vote",
# member_id,
# suggestion_id,
# )
return

suggestion.down_voted_by.add(member_id)
Expand All @@ -159,7 +159,7 @@ async def suggestion_down_vote(
),
ephemeral=True,
)
log.debug("Member %s down voted suggestion %s", member_id, suggestion_id)
# log.debug("Member %s down voted suggestion %s", member_id, suggestion_id)

@commands.slash_command(dm_permission=False)
@cooldowns.cooldown(1, 3, bucket=InteractionBucket.author)
Expand Down

0 comments on commit 192f0d6

Please sign in to comment.