[INFRACTION_TYPE_PRESENT]
switch('{type}') {
case 'NOTE':
'note';
break;
case 'WARN':
'warn';
case 'MUTE':
'mute';
case 'KICK':
'kick'
case 'BAN':
'ban'
case 'UNBAN':
'unban';
case 'VCMUTE':
'voice-mute';
case 'VCUNMUTE':
'voice-unmute';
case 'VCKICK':
'voice-kick'
case 'VCBAN':
'voice-ban'
case 'VCUNBAN':
'voice-unban'
case 'PRUNE':
'prune'
case 'DEHOIST':
'dehoist'
case 'ADDROLE':
'role-add'
case 'REMOVEROLE':
'role-remove'
case 'NICKNAME':
'nickname'
case 'SLOWMODE':
'slowmode'
}
[INFRACTION_TYPE_PAST]
'noted';
'warned';
'muted';
'kicked'
'banned'
'unbanned';
'voice-muted';
'voice-unmuted';
'voice-kicked'
'voice-banned'
'voice-unbanned'
'pruned'
'dehoisted'
'role-added'
'role-removed'
'nicknamed'
'slowmoded'