Sfoglia il codice sorgente

Fixing echo command

tags/v1.4.1
Roxie Gibson 6 anni fa
parent
commit
809dab8fa7
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -2
      cogs/util.py

+ 1
- 2
cogs/util.py Vedi 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…
Annulla
Salva