Comments (8)
Hey there! Could you provide more details as to what you are referring to?
from template.
The Boilerplate is not so slow. Also it is only an example of how you can approach things using discordeno. It is not a bot template you can just throw in and use for a big bot.
(Ayntee already wrote it: You cannot expect help if you don't provide any information at all.)
from template.
Hey there! Could you provide more details as to what you are referring to?
Of course! It's incredibly slow, beyond the pale, when first populating its cache by having Deno scan and read all files in the relevant folders (commands, events, etc.).
With a i9-9900k at 5GHz and 64GB 4000Mhz RAM it takes around 1 minute to load the boilerplate up (or restart it for the matter!). Completely unacceptable.
Re-engineer the boilerplate to make cache loading optional at the very least.
Deno bots will never replace Golang bots
from template.
So starting takes so long because we are forcing Deno to import all files in the src
folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.
from template.
If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.
from template.
So starting takes so long because we are forcing Deno to import all files in the
src
folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.
Is Deno a joke?
If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.
Deno is very much a joke atm
from template.
What do you mean with joke
?
from template.
So starting takes so long because we are forcing Deno to import all files in the
src
folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.Is Deno a joke?
If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.
Deno is very much a joke atm
Deno type-checks each module that is loaded, you can specify the --no-check
flag to the deno run
command to disable type-check. Here is the solution for this issue.
from template.
Related Issues (20)
- Module '"./deps"' has no exported member X deno-ts(2305) HOT 2
- Hot reload HOT 3
- Change Command Execution and Error Handling HOT 4
- New function `findGuild` to combine cache and getting to avoid undefined HOT 5
- Lavadeno Helper voice functionality
- Import Maps HOT 2
- dispatchRequirements HOT 1
- Switch to deno.land v11
- Error on startup after bot prepares slash commands HOT 3
- error: Uncaught (in promise) TypeError: Cannot read property 'entries' of undefined HOT 1
- Delete scripts.yml
- Remove deps.ts HOT 1
- Configs file should use .env file HOT 2
- Remove mod.ts file HOT 1
- Remove cache.ts file
- clarify embed character limit HOT 1
- Import error HOT 4
- README: Picture of Command Logs
- Import maps
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 template.