Advertisement
swimmerhair

Swimbot Error

Apr 20th, 2023
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.35 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/pi/Swimbot/server_manager.py", line 62, in purge
  3.     await ctx.send('Deleted {} message(s)'.format(len(deleted)), delete_after=2) #confirms purge number and deletes after 2 seconds
  4.   File "/home/pi/Swimbot/venv/lib/python3.9/site-packages/discord/abc.py", line 1065, in send
  5.     data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
  6.   File "/home/pi/Swimbot/venv/lib/python3.9/site-packages/discord/http.py", line 248, in request
  7.     raise Forbidden(r, data)
  8. discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13.   File "/home/pi/Swimbot/venv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
  14.     ret = await coro(*args, **kwargs)
  15.   File "/home/pi/Swimbot/server_manager.py", line 64, in purge
  16.     await ctx.send(f'`Swimbot does not have the proper permissions.')
  17.   File "/home/pi/Swimbot/venv/lib/python3.9/site-packages/discord/abc.py", line 1065, in send
  18.     data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
  19.   File "/home/pi/Swimbot/venv/lib/python3.9/site-packages/discord/http.py", line 248, in request
  20.     raise Forbidden(r, data)
  21. discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement