Rifat Azad commited on
Commit
d86db2c
·
1 Parent(s): f0a53ee
Files changed (1) hide show
  1. pydvpl_bot.py +1 -1
pydvpl_bot.py CHANGED
@@ -107,7 +107,7 @@ async def on_disconnect():
107
  @bot.event
108
  async def on_command(ctx):
109
  # Log command usage
110
- log_channel = bot.get_channel(LOG_CHANNEL_ID)
111
  if log_channel:
112
  if ctx.guild:
113
  log_message = f"Command `{ctx.command}` used by `{ctx.author} ({ctx.author.id})` in `{ctx.guild} ({ctx.guild.id})`"
 
107
  @bot.event
108
  async def on_command(ctx):
109
  # Log command usage
110
+ log_channel = bot.get_channel(int(LOG_CHANNEL_ID))
111
  if log_channel:
112
  if ctx.guild:
113
  log_message = f"Command `{ctx.command}` used by `{ctx.author} ({ctx.author.id})` in `{ctx.guild} ({ctx.guild.id})`"