Skip to content

Commit

Permalink
Update init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT authored Jul 3, 2024
1 parent 9e86c40 commit 4d79d9c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server_chat/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ minetest.override_chatcommand("admin", {
end
})

minetest.register_chatcommand("discord", {
description = "Join our Discord server!",
func = function(name)
minetest.chat_send_player(name, "Join our Discord server here: https://discord.gg/vcZTRPX")
return true
end,
})

minetest.register_chatcommand("selfkick", {
description = "Kick yourself",
Expand Down

0 comments on commit 4d79d9c

Please sign in to comment.