Skip to content

Commit

Permalink
Removed some print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ArunOsborn committed May 30, 2022
1 parent 5866043 commit e86ecee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

hostname = socket.gethostname()

VERSION = "1.3.2 Pre-Release 1"
VERSION = "1.3.2 Pre-Release 2"
SERVER_STRUCTURE = \
{
"config": {
Expand Down Expand Up @@ -1448,7 +1448,6 @@ async def _anonymous(ctx, message):
logger.debug("`/anonymous` called by " + ctx.author.name)

try:
print(ctx.channel_id)

blacklist = ["@","nigger","nigga"]
if (any (word in message for word in blacklist)):
Expand Down Expand Up @@ -1657,7 +1656,6 @@ async def on_component(ctx):
return

# If the user hasn't voted before
print(poll["voters"])
if ctx.author.id not in poll["voters"]:
poll["voters"][ctx.author.id] = option
await ctx.send(content=f"Gave your vote to {option}", hidden=True)
Expand Down Expand Up @@ -1702,7 +1700,6 @@ async def on_component(ctx):
setting = ctx.custom_id[len("settings:"):]
logger.debug("Server setting '" + setting + "' of '" + guild.name + "' changed by " + ctx.author.name)
if ctx.author.guild_permissions.administrator:
print(ctx.values)
if ctx.values == None:
config[setting] = None
else:
Expand Down

0 comments on commit e86ecee

Please sign in to comment.