Browse Source

Fixing echo command

tags/v1.4.1
Roxie Gibson 6 years ago
parent
commit
809dab8fa7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      cogs/util.py

+ 1
- 2
cogs/util.py View File

@@ -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…
Cancel
Save