mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
updates
This commit is contained in:
parent
458abdba24
commit
648521716f
28
server.lua
28
server.lua
@ -1,9 +1,13 @@
|
||||
local Public = {}
|
||||
|
||||
local discord_tag = '[CHAT]'
|
||||
local discord_raw_tag = '[CHAT-RAW]'
|
||||
local discord_admin_tag = '[ADMIN]'
|
||||
local discord_embed_tag = '[EMBED]'
|
||||
local discord_tag = '[DISCORD]'
|
||||
local discord_raw_tag = '[DISCORD-RAW]'
|
||||
local discord_admin_tag = '[DISCORD-ADMIN]'
|
||||
local discord_admin_raw_tag = '[DISCORD-ADMIN-RAW]'
|
||||
local discord_embed_tag = '[DISCORD-EMBED]'
|
||||
local discord_embed_raw_tag = '[DISCORD-EMBED-RAW]'
|
||||
local discord_admin_embed_tag = '[DISCORD-ADMIN-EMBED]'
|
||||
local discord_admin_embed_raw_tag = '[DISCORD-ADMIN-EMBED-RAW]'
|
||||
|
||||
function Public.to_discord(message)
|
||||
print(discord_tag .. message)
|
||||
@ -17,8 +21,24 @@ function Public.to_admin(message)
|
||||
print(discord_admin_tag .. message)
|
||||
end
|
||||
|
||||
function Public.to_admin_raw(message)
|
||||
print(discord_admin_raw_tag .. message)
|
||||
end
|
||||
|
||||
function Public.to_discord_embed(message)
|
||||
print(discord_embed_tag .. message)
|
||||
end
|
||||
|
||||
function Public.to_discord_embed_raw(message)
|
||||
print(discord_embed_raw_tag .. message)
|
||||
end
|
||||
|
||||
function Public.to_admin_embed(message)
|
||||
print(discord_admin_embed_tag .. message)
|
||||
end
|
||||
|
||||
function Public.to_admin_embed_raw(message)
|
||||
print(discord_admin_embed_raw_tag .. message)
|
||||
end
|
||||
|
||||
return Public
|
||||
|
Loading…
Reference in New Issue
Block a user