Page 1 of 1

Suggesting people to use my Eliatopia.py package when making discord bots based on Eliatopia

Posted: Mon Mar 08, 2021 8:53 pm
by Kami
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:

Code: Select all

import requests
online = requests.get("http://eliatopiaapi.com/TotalOnline").json()
print(online)
with the package i made you can instantly get the result like:

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,
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! :)

Re: Suggesting people to use my Eliatopia.py package when making discord bots based on Eliatopia

Posted: Tue Mar 09, 2021 3:06 am
by Flashlight237
No way. I'm fine with how Cyro did his bots, thanks.

Re: Suggesting people to use my Eliatopia.py package when making discord bots based on Eliatopia

Posted: Tue Mar 09, 2021 5:17 am
by Kami
People can use this package in other ways not only discord bots