diff options
author | WlodekM <[email protected]> | 2024-07-03 10:21:51 +0300 |
---|---|---|
committer | WlodekM <[email protected]> | 2024-07-03 10:21:51 +0300 |
commit | 0912c5ddb27df466ac90bafe7ca72da545259019 (patch) | |
tree | c2d4886b13a5127af92a70e2a74c75747d448bd3 /commands | |
parent | 908b023f60ca2eec347f68bb4f0c8a9c778278ae (diff) |
v1.2
Diffstat (limited to 'commands')
-rw-r--r-- | commands/motd.js | 7 |
1 files changed, 7 insertions, 0 deletions
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 |