mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
Minor fix
This commit is contained in:
parent
01cc7036ac
commit
8013d125a3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user