mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 01:50:47 -04:00
bot tag and profile images yay urls only though...
This commit is contained in:
@@ -49,7 +49,7 @@ function buildAccessNoticeText(mode, reasonText) {
|
||||
}
|
||||
|
||||
function shouldSendAccessNotice(message) {
|
||||
if (!message?.text || message.system) return false;
|
||||
if (!message?.text || message.bot) return false;
|
||||
const mode = getMode();
|
||||
if (mode !== MODES.ADMIN && mode !== MODES.LOCKDOWN) return false;
|
||||
if (!ACCESS_KEYWORD_RE.test(message.text)) return false;
|
||||
|
||||
Reference in New Issue
Block a user