LUA Discord bot (luvit)
Hello, i am trying to run my LUA Discord bot online but i don't know how i can do that? Can i have help please?
Voters
InvisibleOne
I would suggest you do it in python, which isn't that much more different then lua, but there will be loads of tutorials out there for it. However, it appears you can make one in lua:
https://devforum.roblox.com/t/creating-a-discord-bot-with-lua/250388/4
MythsList
@InvisibleOne I already made the discord bot but i wanna know how to run it, i don't know anything about python too.
InvisibleOne
Oh, ok. I think you run it using a .replit
file. Here's the documentation https://docs.repl.it/repls/dot-replit
MythsList
@InvisibleOne I don't understand, what do i have to put in the "run" value and the "language" value. (i putted the file i want to run in the "run" value and i tried "luvit" and "lua" in the "language" value.)
IWasAllen
@MythsList
basically you put the path to luvit.exe, and the lua file you wanted to execute after it with a space.
basically you put the path to luvit.exe, and the lua file you wanted to execute after it with a space.
example:
run = "bin/luvit.exe main.lua"
You can host it on a few hosting websites, or get HTTP servers.