瀏覽代碼

Fixing echo command

tags/v1.4.1
Roxie Gibson 6 年之前
父節點
當前提交
809dab8fa7
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      cogs/util.py

+ 1
- 2
cogs/util.py 查看文件

@@ -159,8 +159,7 @@ class Util():

@bot.command()
@is_owner()
async def echo(self, ctx, channel, *, message: str):
channel = self.bot.get_channel(channel)
async def echo(self, ctx, channel: discord.TextChannel, *, message: str):
await channel.send(message)
return await ctx.send(":point_left:")


Loading…
取消
儲存