Giter Club home page Giter Club logo

discord-bot-battlemetrics-ban-notifier's People

Contributors

alexemanuelol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lukeg3

discord-bot-battlemetrics-ban-notifier's Issues

TypeError: update_text_channel() takes 2 positional arguments but 3 were given

Poll was successful.
New bans detected!
[{0: 'Suck my Tidies bitch', 1: '76561199230049078', 2: 'Banned - Hacker | {{duration}} | Discord.gg/VortexRust', 3: '2022-02-13 09:45:16', 4: 'Indefinitely', 5: 'VortexRust.gg|2x Solo Duo Trio Quad|Full Map BP Wipe!2/11', 6: 'TreblesomeTenor'}]
Ignoring exception in on_message
Traceback (most recent call last):
File "/home/container/.local/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "/home/container/bot.py", line 84, in on_message
self.update()
File "/home/container/bot.py", line 105, in update
self.update_text_channel(self, diff)
TypeError: update_text_channel() takes 2 positional arguments but 3 were given

Is this free to use?

Hello,
Not to sure about how I contact you so here I am. Is this open source or do I need permission to use this?

TypeError: 'NoneType' object is not subscriptable

I am new to Python, can you help me understand what is returning this error?

File "/discordBotBattlemetricsBanNotifier.py", line 164, in get_banlist
steamIds.append(ban["attributes"]["identifiers"][0]["metadata"]["profile"]["steamid"])
TypeError: 'NoneType' object is not subscriptable

I know it is something within this line ( steamIds.append(ban["attributes"]["identifiers"][0]["metadata"]["profile"]["steamid"]) ) but I am not sure how to fix this. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.