SinisterRectus / Discordia

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

Discordia Packages Broken #398

Closed ojarchives closed 12 months ago

ojarchives commented 12 months ago

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

image image

SinisterRectus commented 12 months ago

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

ojarchives commented 12 months ago

Im confused, how do you change the lua version?

Ta-noshii commented 12 months 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