QuartzWarrior / UnbelievaBoat-AUTO

Automate UnbelievaBoat bot on Discord
MIT License
3 stars 3 forks source link

errors #3

Open Reddestroyer907 opened 5 months ago

Reddestroyer907 commented 5 months ago

i get discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions after i do !start

Reddestroyer907 commented 5 months ago

if you need more to that heres the full message

[2024-05-28 12:34:56] [ERROR ] discord.ext.tasks: Unhandled exception in internal background task 'auto_collect'. Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\ext\tasks__init.py", line 241, in _loop await self.coro(*args, **kwargs) File "C:\Users\user\UnbelievaBoat-AUTO\main.py", line 27, in auto_collect await collect.call(channel=channel) # Run the collect command ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\commands.py", line 649, in call return await super().call(*self._parse_kwargs(kwargs), channel) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\commands.py", line 269, in call return await super().call(data, files, channel) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\commands.py", line 140, in call__ return await _wrapped_interaction( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\interactions.py", line 203, in _wrapped_interaction await state.http.interact(type, data, channel, nonce=nonce, **kwargs) File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\discord\http.py", line 926, in request raise Forbidden(response, data) discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions

QuartzWarrior commented 5 months ago

This error means that the user cannot use slash commands in the specified channel. I'll add better error handling to mitigate this.

Reddestroyer907 commented 5 months ago

thankyou that would be appreciated is there anyway i can edit it so that its not using /commands but ,work and ,collect etc? the server im on uses , instead of ! sorry about this its an obvious question i dont really know code, it took me long enough to figure out how to use git clone in my command prompt XD