feat(api): Stop alerting about new messages for large groups

closes #6706
closes #6762
This commit is contained in:
Blade Barringer
2016-06-19 20:54:30 -05:00
parent a4dba82d14
commit e920734648
6 changed files with 175 additions and 25 deletions

View File

@@ -17,13 +17,18 @@ import { shouldDo, daysSince } from './cron';
api.shouldDo = shouldDo;
api.daysSince = daysSince;
// TODO under api.constants? and capitalize exported names too
import {
MAX_HEALTH,
MAX_LEVEL,
MAX_STAT_POINTS,
TAVERN_ID,
LARGE_GROUP_COUNT_MESSAGE_CUTOFF,
} from './constants';
api.constants = {
LARGE_GROUP_COUNT_MESSAGE_CUTOFF,
};
// TODO Move these under api.constants
api.maxLevel = MAX_LEVEL;
api.maxHealth = MAX_HEALTH;
api.maxStatPoints = MAX_STAT_POINTS;