SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
712 stars 145 forks source link

Discordia Packages Broken #398

Closed ojarchives closed 1 year ago

ojarchives commented 1 year ago

Uh, so basically when ever discoardia loads into vsc, the first error you see is this:

image image

SinisterRectus commented 1 year ago

Discordia runs on Luvit, which uses LuaJIT. Change your Lua version to LuaJIT in VSC.

ojarchives commented 1 year ago

Im confused, how do you change the lua version?

Ta-noshii commented 1 year ago

Either here: image Or it might also automatically change if you enable the Luvit addon (assuming you have the Lua extension by sumneko installed) image by right-clicking anywhere on your code at the bottom of the panel that pops up, click Lua: Open Addon Manager, install and enable the Luvit addon. image

Next time, you can also try asking questions like this in our discord first: https://discord.gg/sinisterware