Home > Net >  ctx.message.channel.edit not running everytime command is called
ctx.message.channel.edit not running everytime command is called

Time:12-19

So, I currently have this command to change the title of a channel in discord with discord py. The command works a few times in each channel then subsequently breaks on a per channel basis (or finishes the command around 6 min later).

import api
import discord
from discord.ext import commands

client = discord.Client()
client = commands.Bot(command_prefix=["pp.", "Pp.", "PP.", "pP."])
@client.command(pass_context=True)
async def progress_update(ctx, new_emoji):
    if ctx.message.channel.name[0] not in ["           
  • Related