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

Merge pull request #202 from ComfyFactory/minor_fix

Minor fix
This commit is contained in:
Gerkiz 2022-01-06 01:10:41 +01:00 committed by GitHub
commit 2370cfa38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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