mirror of
https://github.com/troit5ky/gmod_discord_relay.git
synced 2025-03-04 03:03:15 -05:00
cache chat.AddText is buggy
This commit is contained in:
parent
7518bc2226
commit
ccbe7cd4ba
@ -1,7 +1,5 @@
|
||||
local chat_AddText = chat.AddText
|
||||
|
||||
net.Receive("!!discord-receive", function()
|
||||
local msg = net.ReadTable()
|
||||
|
||||
chat_AddText( Discord.prefixClr, "["..Discord.prefix.."] ", Color(255, 255, 255), msg.author..": ", msg.content )
|
||||
chat.AddText( Discord.prefixClr, "["..Discord.prefix.."] ", Color(255, 255, 255), msg.author..": ", msg.content )
|
||||
end)
|
Loading…
Reference in New Issue
Block a user