<commit_before>dm: 'daymute',
 daymute: function (target, room, user) {
  if (!target) return this.parse('/help daymute');
  if (!this.can('mute', targetUser, room)) return false;
  if ((user.locked || user.mutedRooms[room.id]) && !user.can('bypassall')) return this.sendReply('You cannot do this while unable to talk.');

  target = this.splitTarget(target);
  var targetUser = this.targetUser;
  if (!targetUser) return this.sendReply('User "' + this.targetUsername + '" not found.');

  if (((targetUser.mutedRooms[room.id] && (targetUser.muteDuration[room.id] || 0) >= 50  60  1000) || targetUser.locked) && !target) {
   var problem = ' but was already ' + (!targetUser.connected ? 'offline' : targetUser.locked ? 'locked' : 'muted');
   return this.privateModCommand('(' + targetUser.name + ' would be muted by ' + user.name + problem + '.)');
  }

  targetUser.popup(user.name + ' has muted you for 24 hours. ' + target);
  this.addModCommand('' + targetUser.name + ' was muted by ' + user.name + ' for 24 hours.' + (target ? " (" + target + ")" : ""));
  var alts = targetUser.getAlts();
  if (alts.length) this.addModCommand("" + targetUser.name + "'s alts were also muted: " + alts.join(", "));

  targetUser.mute(room.id, 24  60  60 * 1000, true);
 },<commit_msg>Update daymute.js<commit_after>exports.commands = {
 
 dm: 'daymute',
	daymute: function (target, room, user) {
		if (!target) return this.parse('/help daymute');
		if (!this.can('mute', targetUser, room)) return false;
		if ((user.locked || user.mutedRooms[room.id]) && !user.can('bypassall')) return this.sendReply('You cannot do this while unable to talk.');

		target = this.splitTarget(target);
		var targetUser = this.targetUser;
		if (!targetUser) return this.sendReply('User "' + this.targetUsername + '" not found.');

		if (((targetUser.mutedRooms[room.id] && (targetUser.muteDuration[room.id] || 0) >= 50 * 60 * 1000) || targetUser.locked) && !target) {
			var problem = ' but was already ' + (!targetUser.connected ? 'offline' : targetUser.locked ? 'locked' : 'muted');
			return this.privateModCommand('(' + targetUser.name + ' would be muted by ' + user.name + problem + '.)');
		}

		targetUser.popup(user.name + ' has muted you for 24 hours. ' + target);
		this.addModCommand('' + targetUser.name + ' was muted by ' + user.name + ' for 24 hours.' + (target ? " (" + target + ")" : ""));
		var alts = targetUser.getAlts();
		if (alts.length) this.addModCommand("" + targetUser.name + "'s alts were also muted: " + alts.join(", "));

		targetUser.mute(room.id, 24 * 60 * 60 * 1000, true);
	},
{'fraction_non_alphanumeric': 0.18527131782945735, 'fraction_numerical': 0.017829457364341085, 'mean_word_length': 4.080708661417323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2606956', 'n_tokens_mistral': 928, 'n_tokens_neox': 863, 'n_words': 222}