GitSparTV / discordia-slash

Discordia application commands extension
MIT License
38 stars 13 forks source link

v.type in makeParams returns nil #2

Closed Delphilante closed 1 year ago

Delphilante commented 3 years ago

For some users, the v.type (subCommand) returns nil. Uncaught Error: /home/santa/deps/discordia-slash/Application.lua:33: attempt to call a nil value

GitSparTV commented 3 years ago

Hi, can you provide the code you are using so I can test it?

Delphilante commented 3 years ago

It happens to any code, even with your ban example command.

It is related to specific phones/applications (for example an user who has an Asus phone, it breaks on him every time). These applications somehow cannot fetch the params.

GitSparTV commented 3 years ago

Oh, hm, this sounds like discord issue

GitSparTV commented 3 years ago

put this on line 49 image