From 0912c5ddb27df466ac90bafe7ca72da545259019 Mon Sep 17 00:00:00 2001 From: WlodekM Date: Wed, 3 Jul 2024 10:21:51 +0300 Subject: v1.2 --- commands/motd.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 commands/motd.js (limited to 'commands') diff --git a/commands/motd.js b/commands/motd.js new file mode 100644 index 0000000..740cb07 --- /dev/null +++ b/commands/motd.js @@ -0,0 +1,7 @@ +export default { + name: 'motd', + aliases: [], + command: function({user, server}) { + user.socket.send("MOTD: " + server.format(server.config.motd)); + } +} \ No newline at end of file -- cgit 1.4.1-2-gfad0