v5.0.0
$defaultMessageNotifications
Return the guild default message notification level.
This function returns the level of a server'S default message notifications.
Returns either Mentions or All.
Raw usage: $defaultMessageNotifications[guildID (optional)]

Usage:

Returning the default message notifications type of the current guild:
1
bot.command({
2
name: "notifications",
3
code: `
4
Notifications type of this server: $defaultMessageNotifications
5
`
6
})
Copied!
Returning the default message notifications type of another guild:
1
bot.command({
2
name: "notifications",
3
code: `
4
Notifications type of the server $serverName[773352845738115102]:
5
$defaultMessageNotifications[773352845738115102]
6
`
7
})
Copied!
Example from the Official Aoi.JS Server => $defaultMessageNotifications would return "Mentions" on this guild
Last modified 1mo ago
Copy link
Edit on GitHub
Contents
Usage: