Jump to content

What battlemetrics perms + discord perms does the bot need?

Not a Bug 1.0.0

ERROR:discord.ext.tasks:Unhandled exception in internal background task 'ban_logs'. Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\tasks\__init__.py", line 239, in _loop await self.coro(*args, **kwargs) File "C:\Users\Administrator\Desktop\rfnbanfeed\main.py", line 67, in ban_logs steamid = item["identifier"] KeyError: 'identifier'

When issuing a ban. BM bot token has perms to view banlists, view bans. What other perms does it need? As i assume thats causing the issue above?

Share this comment


Link to comment

The error above is caused by the bot not having access to player identifiers, when a ban is passed the bot needs to be able to see identifiers to be able to fetch the users steam id, so you will also need to give access to identifiers. I apologise for the extremely long response period i didn't see this till now.

 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.7k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.