MCPcopy Index your code
hub / github.com/codecombat/codecombat / shouldShowLevelAIChat

Method shouldShowLevelAIChat

app/models/User.js:1286–1297  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1284 }
1285
1286 shouldShowLevelAIChat () {
1287 if (utils.isOzaria) {
1288 return false
1289 }
1290 if (features?.china) {
1291 return false
1292 }
1293 if (me.get('role') === 'student') {
1294 return false
1295 }
1296 return true
1297 }
1298
1299 removeRelatedAccount (relatedUserId, options = {}) {
1300 options.url = '/db/user/related-accounts'

Callers 1

shouldShowAiBotHelpFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected