Giter Site home page Giter Site logo

discord_xbl_status's People

Contributors

austinwagner avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

discord_xbl_status's Issues

SyntaxError: invalid syntax

Hi Austin,

I'd really like to use your script and I have almost no clue what I'm doing, but I've installed everything as per your instructions and now get an error when executing the file as follows:

File "discord_xbl_status.py", line 40
def init(self, config: XblPresenceMonitorConfig, event_loop=None):
^
SyntaxError: invalid syntax

Did I do something wrong and if so, how can it be fixed?

Need help using

Is there any way you could maybe make a tutorial on how to use your program?
I'm kinda new to python and would really like to use this program.

Issue with config

Every time i try to issue the command after filling out the config, i get this error thrown at me. I've tried numerous things to fix this with no results.

2018-03-01 16:48:16,315 [INFO ] __main__  Using default logging config
2018-03-01 16:48:16,317 [WARNING] discord.client  PyNaCl is not installed, voice will NOT be supported
2018-03-01 16:48:16,318 [INFO ] discord.client  attempting to login via cache
2018-03-01 16:48:16,322 [INFO ] discord.client  login cache file found
2018-03-01 16:48:16,742 [INFO ] discord.client  cache auth token is out of date
2018-03-01 16:48:17,458 [INFO ] discord.client  updating login cache
Traceback (most recent call last):
  File "discord_xbl_status.py", line 217, in <module>
    main()
  File "discord_xbl_status.py", line 214, in main
    monitor.run()
  File "discord_xbl_status.py", line 143, in run
    self._event_loop.run_until_complete(tasks)
  File "C:\Users\yukin\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py", line 467, in run_until_complete
    return future.result()
  File "c:\users\yukin\desktop\discord_xbl_status-master\src\discord.py\discord\client.py", line 489, in start
    yield from self.login(*args, **kwargs)
  File "c:\users\yukin\desktop\discord_xbl_status-master\src\discord.py\discord\client.py", line 416, in login
    yield from getattr(self, '_login_' + str(n))(*args, **kwargs)
  File "c:\users\yukin\desktop\discord_xbl_status-master\src\discord.py\discord\client.py", line 374, in _login_2
    self._update_cache(email, password)
  File "c:\users\yukin\desktop\discord_xbl_status-master\src\discord.py\discord\client.py", line 198, in _update_cache
    f.write(self.http.token)
TypeError: write() argument must be str, not None
2018-03-01 16:48:17,516 [ERROR] asyncio  Task was destroyed but it is pending!
task: <Task pending coro=<XblPresenceMonitor._on_ready() running at discord_xbl_status.py:116> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002DE690F0168>()]> cb=[gather.<locals>._done_callback(1)() at C:\Users\yukin\AppData\Local\Programs\Python\Python36\lib\asyncio\tasks.py:616]>
2018-03-01 16:48:17,517 [ERROR] asyncio  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x000002DE690FA908>```

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.