mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 02:36:11 +10:00
added starterpack to the wss
This commit is contained in:
@@ -19,8 +19,7 @@ module.exports = {
|
||||
wss.on('connection', function connection(ws) {
|
||||
ws.on('message', function incoming(message) {
|
||||
if (message == "name")
|
||||
ws.send(JSON.stringify({ name: dclient.user.username }))
|
||||
ws.send(`something ${message}`);
|
||||
ws.send(JSON.stringify({ type: 'starterpack', user: dclient.user }))
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user