Comments (6)
Make a web-based version of the bot (it gets all data from a cloud / webserver) and check if this gives any benefits.
This can make "OTA-Updates" possible
from navnlos.
- make a branch on joseywoermnn/navnlos
build a gh-pages site from itassign something likedata.navnlos.ml
to it (this requires new DNS records )
from navnlos.
- make a branch on joseywoermnn/navnlos
build a gh-pages site from itassign something likedata.navnlos.ml
to it (this requires new DNS records )
Just use a different branch and store the .json files there
from navnlos.
So far, this works:
import json
import urllib.request
# download raw json object
url = "https://raw.githubusercontent.com/joseywoermann/PyStore/main/data/inventory/apple.json"
data = urllib.request.urlopen(url).read().decode()
# parse json object
apple = json.loads(data)
# output some object attributes
print('price ' + str(apple['price']))
print('stock ' + str(apple['stock']))
from navnlos.
I don't think this is useful at the moment because navnløs is not on many servers, and it would just add latency.
from navnlos.
At the current scale of the bot, this doesn't provide any benefit and just adds latency.
I might come back and implement this if needed, but not now.
from navnlos.
Related Issues (20)
- [REWRITE] - Rewrite the entire bot in TypeScript using discord.js HOT 1
- add default values
- outdated docs HOT 1
- Add a simple yes-no-poll Feature
- Add Space-Commands
- Slash-Commands migration strategy
- Send the errors to a central logchannel
- Redo the logging system HOT 1
- Some interactions fail HOT 2
- Make error messages ephemeral
- Make /clear message ephemeral HOT 2
- monitoring? HOT 1
- Add command statistics to /stats
- re-add a /help command
- (FLK-E302) Expected 2 blank lines
- Incorrect command-count HOT 5
- Fix typo HOT 2
- animal commands don't work HOT 1
- Defer response in `/clear`
- The Future of navnløs / developement plans
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navnlos.