log channel change

This commit is contained in:
Hri7566 2022-09-10 01:14:22 -04:00
parent c2cfb4b81c
commit 09acb758fc
1 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,8 @@ const LOGGER_PARTICIPANT = {
id: 'logger'
}
const LOGGING_CHANNEL = 'lolwutsecretloggingchannel';
class Channel extends EventEmitter {
constructor(server, _id, settings, cl) {
super();
@ -55,7 +57,7 @@ class Channel extends EventEmitter {
this.logger.log('Created');
if (this._id == 'supersecretsettings') {
if (this._id == LOGGING_CHANNEL) {
if (cl.user.hasFlag('admin')) {
delete this.crown;