Skip to content

Function: areChannelNotificationsEnabled() ​

ts
function areChannelNotificationsEnabled(
   server, 
   channel, 
   now?
): boolean;

Defined in: notifications.ts:86

Whether this channel can raise notifications or mention badges.

Parameters ​

ParameterType
server| IServerNotificationSetting | null | undefined
channel| IChannelNotificationSetting | null | undefined
now?number

Returns ​

boolean

Released under the GNU Affero General Public License v3.0.