JohnnyS / JD_logsV3

JD Logs V3 by Prefech/JokeDevil. I was a admin on the discord, not sure what happened to him. This is no longer being maintained.
35 stars 27 forks source link

@JD_logsV3/server/main.lua:178: bad argument #2 to 'gsub' #7

Closed UP962567 closed 1 year ago

UP962567 commented 1 year ago

Hi,

I have added this bot as I love it.

However, when a user try to shoot it does not show on the discord and this error pop up.

Error code:

      script:monitor] [txAdminClient] Sending resources list to txAdmin.
[    script:JD_logsV3] New Screenshot Webhook Generated. (Old one got deleted)
[    script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:178: bad argument #2 to 'gsub' (string/function/table expected, got nil)

Can anyone advise?

Cyzxin commented 1 year ago

You are shooting a weapon that is not in the client/ClientTables.lua, add it to that file and the error will be fixed