midacts / discord-medivia-pybot Goto Github PK
View Code? Open in Web Editor NEWA Discord bot written in Python for the great MMORPG we all know and love named Medivia (Based on Tibia)
License: Apache License 2.0
A Discord bot written in Python for the great MMORPG we all know and love named Medivia (Based on Tibia)
License: Apache License 2.0
Verify the member being added exists in Medivia before adding them
Instead of adding/maintaining a static list of members for a guild, dynamically pull the list from Medivia's website.
# 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
get_realm
The bot should remain running as expected until stopped.
The bot freezes up and stops running.
Run the bot and it will freeze at random.
python main.py
I asked this question in the discord.py discord channel and gogurt ktinky
(gogurt enjoyer
#8035) showed me that I should make two changes:
aiohttp
instead of request/urllib
json.load
calls, etcA support for different realms.
Currently, only pendulum is supported
# 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
medivia_online
Offline members should be removed from the discord channels
Players are not removed from discord channels if they are the only person on the list and they log off.
Add a default "All" list which shows all the members of all the lists (of the specific discord server) into one list/channel.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.