mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 18:56:10 +10:00
¯\_(ツ)_/¯
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = {
|
|||||||
wss.on('connection', function connection(ws) {
|
wss.on('connection', function connection(ws) {
|
||||||
ws.on('message', function incoming(message) {
|
ws.on('message', function incoming(message) {
|
||||||
if (message == "name")
|
if (message == "name")
|
||||||
ws.send({ name: dclient.user.username })
|
ws.send({ name: "dclient.user.username" })
|
||||||
ws.send(`something ${message}`);
|
ws.send(`something ${message}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user