Suggesting people to use my Eliatopia.py package when making discord bots based on Eliatopia
Posted: Mon Mar 08, 2021 8:53 pm
Hi, today i was thinking, why not to make a package to simplify the things for Eliatopia commands like to see a player's leaderboard place and other stuffs. so i made a package for eliatopia.
it works like this
instead of typing codes on codes like:
with the package i made you can instantly get the result like:
there are other functions and some more to come.
you can install it by doing
"python3/python/pip3 install Eliatopia.py"
more info:
https://pypi.org/project/Eliatopia.py/
https://github.com/AI3x3y/Eliatopia_Library
Enjoy!
it works like this
instead of typing codes on codes like:
Code: Select all
import requests
online = requests.get("http://eliatopiaapi.com/TotalOnline").json()
print(online)
Code: Select all
from Eliatopia_Library.elia import Eliatopia
Eliatopia = Eliatopia("0.1.9")
Eliatopia.getOnline() #prints the total amount of in game players in the console
or if you want to make that in a discord bot you can do :
Eliatopia.getOnlineDiscord(ctx) #sends the following string "Players Online: amountofplayers" in the channel where the command was executed,
you can install it by doing
"python3/python/pip3 install Eliatopia.py"
more info:
https://pypi.org/project/Eliatopia.py/
https://github.com/AI3x3y/Eliatopia_Library
Enjoy!