From 192f0d67af397756b55b44473a3b42786c1d9abe Mon Sep 17 00:00:00 2001 From: skelmis Date: Fri, 4 Nov 2022 14:26:56 +1300 Subject: [PATCH] doc: remove logging for upvotes --- suggestions/cogs/suggestion_cog.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/suggestions/cogs/suggestion_cog.py b/suggestions/cogs/suggestion_cog.py index 5ad8f95..0882e04 100644 --- a/suggestions/cogs/suggestion_cog.py +++ b/suggestions/cogs/suggestion_cog.py @@ -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) @@ -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( @@ -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) @@ -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)