mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Removed traceback limit
This commit is contained in:
parent
f29750a78f
commit
9c06d7bfa9
1 changed files with 3 additions and 2 deletions
|
@ -129,7 +129,7 @@ class Administration:
|
|||
await ctx.send('❌ **Deletion timed out.**', delete_after=10)
|
||||
except Exception:
|
||||
await ctx.send('{}\n```{}```'.format(exc.base, traceback.format_exc(limit=1)))
|
||||
traceback.print_exc(limit=1)
|
||||
traceback.print_exc()
|
||||
|
||||
async def delete(self):
|
||||
while True:
|
||||
|
@ -160,7 +160,7 @@ class Administration:
|
|||
pass
|
||||
except Exception:
|
||||
await channel.send(exc.base + '\n```' + traceback.format_exc(limit=1) + '```')
|
||||
traceback.print_exc(limit=1)
|
||||
traceback.print_exc()
|
||||
|
||||
@commands.command(name='autodelete', aliases=['autodel', 'ad'])
|
||||
@commands.has_permissions(administrator=True)
|
||||
|
@ -178,3 +178,4 @@ class Administration:
|
|||
await ctx.send('✅ **Auto-deleting all messages in this channel.**', delete_after=5)
|
||||
else: raise exc.Exists
|
||||
except exc.Exists: await ctx.send('❌ **Already deleting in this channel.** Type `stop` to stop deleting.')
|
||||
traceback.print_exc()
|
||||
|
|
Loading…
Reference in a new issue