removed handle_error
This commit is contained in:
parent
d88d04730a
commit
45d5777888
1 changed files with 1 additions and 2 deletions
|
|
@ -260,7 +260,6 @@ class PhixxyCom(commands.Cog):
|
||||||
|
|
||||||
await ctx.send("Finished https://ai.phixxy.com/ai-webpage/")
|
await ctx.send("Finished https://ai.phixxy.com/ai-webpage/")
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
await self.handle_error(error)
|
|
||||||
await ctx.send("Failed, Try again.")
|
await ctx.send("Failed, Try again.")
|
||||||
|
|
||||||
@tasks.loop(seconds=1)
|
@tasks.loop(seconds=1)
|
||||||
|
|
@ -276,7 +275,7 @@ class PhixxyCom(commands.Cog):
|
||||||
try:
|
try:
|
||||||
await self.generate_blog()
|
await self.generate_blog()
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
await self.handle_error(error)
|
print("Failed to generate blog")
|
||||||
|
|
||||||
async def setup(bot):
|
async def setup(bot):
|
||||||
await bot.add_cog(PhixxyCom(bot))
|
await bot.add_cog(PhixxyCom(bot))
|
||||||
Loading…
Add table
Add a link
Reference in a new issue