<commit_before>const { level, checkRole } = require('../helpers')

module.exports = {
  description: 'Give XP to a user. Need permissions.',
  usage: '@<username> <#>',
  process: async (msg, argument) => {
    if (await checkRole(msg, ['Elder', 'Star Paladin'])) {
      await level.give(msg, argument)
    } else {
      await console.log(`${msg.author.username} tried to use a command without privs`)
    }
  }
}<commit_msg>Added more whitelisted ranks to xpGive<commit_after>const { level, checkRole } = require('../helpers')

module.exports = {
  description: 'Give XP to a user. Need permissions.',
  usage: '@<username> <#>',
  process: async (msg, argument) => {
    if (await checkRole(msg, ['Elder', 'Star Paladin', 'Paladin', 'Head Scribe', 'Senior Scribe'])) {
      await level.give(msg, argument)
    } else {
      await console.log(`${msg.author.username} tried to use a command without privs`)
    }
  }
}
{'fraction_non_alphanumeric': 0.16594360086767895, 'fraction_numerical': 0.0, 'mean_word_length': 3.6381909547738696, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6467445', 'n_tokens_mistral': 302, 'n_tokens_neox': 297, 'n_words': 86}