1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00

Minor fix

This commit is contained in:
Gerkiz 2022-01-06 01:09:35 +01:00
parent 01cc7036ac
commit 8013d125a3
2 changed files with 2 additions and 0 deletions

View File

@ -469,6 +469,7 @@ local jail = function(player, griefer, msg, raised)
local data = Server.build_embed_data()
data.username = griefer
data.admin = player
data.reason = msg
Server.to_jailed_embed(data)
if votejail[griefer] then

View File

@ -338,6 +338,7 @@ function Public.to_jailed_embed(message, locale)
if not type(message) == 'table' then
return
end
if locale then
print(message, discord_jailed_embed_tag)
else