Skip to content
can host a discord bot using lua
Profile icon

so im making a discord bot using DISCORDIA and LUVIT and I was wondering if Im able to host it on

(I have NO idea how to host a bot and have never done it before so if someone can go into detail of how to host a LUA DISCORDIA and LUVIT bot then that would be very appreciated!)

You are viewing a single comment. View All
Profile icon

You know about packages, right?
Packages need to be installed to be used. For a package to be installed you generally need a package manager. If you are using a package I expect you to know how to set up the package. Take python for instance. If you import something from python and run it you might see a "package manager installing whatever" or something of the sort. Other languages like Nodejs need you to install a package before you can even call it from your program. Check your repl editor. There might be a cube in the upperish left hand side of your screen. Try typing in the package name. If it's there, install it. After that you can do what you do normally. If it isn't then I don't know how to help you because I don't know lua. If this isn't how packages work in Lua then forgive me, because I don't know Lua at all, I'm just trying to help with info I know from other languages :/


I realize now that Lua doesn't have explicit support for packages.

As long as you can bring that namespace from LuaBotDevPackage (the variables and functions) into your main program, you are good to go.

Don't understand?
Read more here