Skip to content

Commit 6e0789e

Browse files
committed
Fixed deprecated warning
1 parent ee4c3a7 commit 6e0789e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Package.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# contributors
66
author = "SyedMuhammad"
77
# version
8-
version = "0.0.9"
8+
version = "0.0.10"
99

1010
# script configurations
1111
[script]

Server/Index.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function SendDiscordEmbed(tEmbed)
3131
end
3232

3333
-- Events intercept to print on Discord
34-
Server.Subscribe("Chat", function(text, player)
34+
Chat.Subscribe("PlayerSubmit", function(text, player)
3535
SendDiscordMessage("**" .. player:GetName() .. "**: " .. text)
3636
end)
3737

0 commit comments

Comments
 (0)