Code Monkey home page Code Monkey logo

discord-medivia-pybot's People

Contributors

midacts avatar

Watchers

 avatar

discord-medivia-pybot's Issues

Bot Freezes at Random

Python (and Packages) Version

# python --version
Python 3.8.2

# pip list
Package        Version
-------------- -------
aiohttp        3.6.2
async-timeout  3.0.1
attrs          19.3.0
beautifulsoup4 4.8.2
chardet        3.0.4
discord.py     1.3.2
idna           2.9
multidict      4.7.5
pip            20.0.2
setuptools     45.2.0
soupsieve      2.0
websockets     8.1
wheel          0.34.2
yarl           1.4.2

Affected Resource(s)

  • get_realm

Expected Behavior

The bot should remain running as expected until stopped.

Actual Behavior

The bot freezes up and stops running.

Steps to Reproduce

Run the bot and it will freeze at random.

  1. python main.py

Important Facts

I asked this question in the discord.py discord channel and gogurt ktinky (gogurt enjoyer
#8035) showed me that I should make two changes:

  • Use aiohttp instead of request/urllib
  • Make sure I am closing all the files the code is opening during the json.load calls, etc

Add Support for Different Realms

Description

A support for different realms.
Currently, only pendulum is supported

New or Affected Resource(s)

  • cogs/medivia.py

Not Removing Offline Players

Python (and Packages) Version

# python --version
Python 3.8.2

# pip list
Package        Version
-------------- -------
aiohttp        3.6.2
async-timeout  3.0.1
attrs          19.3.0
beautifulsoup4 4.8.2
chardet        3.0.4
discord.py     1.3.2
idna           2.9
multidict      4.7.5
pip            20.0.2
setuptools     45.2.0
soupsieve      2.0
websockets     8.1
wheel          0.34.2
yarl           1.4.2

Affected Resource(s)

  • medivia_online

Expected Behavior

Offline members should be removed from the discord channels

Actual Behavior

Players are not removed from discord channels if they are the only person on the list and they log off.

Add Support for an "All" List

Description

Add a default "All" list which shows all the members of all the lists (of the specific discord server) into one list/channel.

New or Affected Resource(s)

  • medivia_online

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.