I’m building a bot with Discordia and I need a way to retrieve my token from the .env file. Is it possible to require it from a .lua file? Thanks in advance!
You can use the
os.getenv function, for example:
I’m not really a lua programmer but I do know about that function