Skip to content
Sign upLog in
← Back to Community
LUA Discord bot (luvit)
Profile icon
MythsList

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
Profile icon
MythsList
Comments
hotnewtop
Profile icon
RYANTADIPARTHI

You can host it on a few hosting websites, or get HTTP servers.

Profile icon
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

Profile icon
MythsList

@InvisibleOne
I already made the discord bot but i wanna know how to run it, i don't know anything about python too.

Profile icon
InvisibleOne

Oh, ok. I think you run it using a .replit file. Here's the documentation https://docs.repl.it/repls/dot-replit

@MythsList

Profile icon
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.)

Profile icon
IWasAllen

@MythsList

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"