Skip to content

Function: effectiveNotificationLevel() ​

ts
function effectiveNotificationLevel(server, channel): NotificationLevel;

Defined in: notifications.ts:76

Server restrictions take precedence; channels can further reduce notifications.

Parameters ​

ParameterType
server| Pick<IServerNotificationSetting, "level"> | null | undefined
channel| Pick<IChannelNotificationSetting, "level"> | null | undefined

Returns ​

NotificationLevel

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