Comments (7)
Legend says that @Nufflee is still on it.
from confax.
To reload, you just have to call loadScript and and give the path of the command/module you want to reload and specify the second argument too, which is a bool (e.g loadScript('./commands/eval.js', true)
If you want to reload all commands/modules you can do a foreach loop like I did in the bot.js file.
Unloading commands is not implemented yet, but I am working on it.
from confax.
Thanks man, very helpful.
Keep up the good work 👍
from confax.
No problem mate! :)
Issue is closed for now, feel free to reopen when you want to.
from confax.
Actually, I've now run into another problem. With the reloading, although it says it reloaded the scripts, it actually has not. Which is odd.
You know why?
from confax.
That's weird. I will take a look at the method. Will tell you when I can help you/fixed it.
from confax.
On it!
from confax.
Related Issues (4)
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 confax.