diff options
Diffstat (limited to 'commands/motd.js')
-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 |