Add /say and global announcements
This commit is contained in:
parent
755c4f49fd
commit
c50dbece97
6 changed files with 64 additions and 12 deletions
|
|
@ -19,6 +19,10 @@ function initCallbacks() {
|
|||
showChannelRegistration();
|
||||
});
|
||||
|
||||
socket.on('announcement', function(data) {
|
||||
showAnnouncement(data.title, data.text);
|
||||
});
|
||||
|
||||
socket.on('registerChannel', function(data) {
|
||||
if(data.success) {
|
||||
$('#chregnotice').remove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue