SystemDoNotDisturbState is undefined in macOS Big Sur

tell application "BetterTouchTool"
	return get_string_variable "SystemDoNotDisturbState"
end tell

What I got:
missing value


Thanks for reporting, I’ll look into that!

Will be fixed with the next update, however this is a number variable so you need to use

tell application "BetterTouchTool"
	return get_number_variable "SystemDoNotDisturbState"
end tell

this method always return 0 in Big Sur