text: // TODO: wiki-sources, sources or references as the command name?
  
  const Util = require('./../modules/util')
  const Logger = new Util.Logger();
  const requests = require('./../modules/requests')
  
  /**
   * Command: sources
   * Description: Sends you a full list of all sources of a Wikipedia article
   * */
  module.exports = {
  	name: 'sources',
  	alias: ['references'],
  	description: 'Sends you a full list of all sources of a Wikipedia article',
  	async execute(message, args, config, clusterId) {
  
  		const command = args[0].slice(config.PREFIX.length)
  
  		Logger.info(`${config.PREFIX + this.name} was used. (Cluster ${clusterId})`)
  
  		if(!args[1]) {
  
  			// Send an embed which explains this command
  			message.channel.send({
  				embed: {
  					color: 3447003,
  					author: {
  						icon_url: 'https://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png',
  						name: 'Wikipedia',
  					},
  					title: '\'References\' Command 101',
  					timestamp: new Date(),
  					description: 'This helps to understand how this command works.',
  					fields: [
  						{
  							name: 'Generally the command works like this:',
  							value: '`' + config.PREFIX + command + ' "<search argument>" <range>` \n\n' +
                  '**Example:** ' + '`' + config.PREFIX + command + ' "Elon Musk" 1-5`\n ' +
                  'You give a search term and a specific range from which \nto which reference you want to get the link of.',
  						},
  						{
  							name: '\nYou can also get some information about the references\nof a Wikipedia article with setting range to *info*',
  							value: '**Example:** ' + '`' + config.PREFIX + command + ' "Elon Musk" info`\n ',
  						},
  						{
  							name: '\nIf you leave the range empty or write *all* as the range, \nyou\'ll get the link to the Wikipedia article references',
  							value: '**Example:** ' + '`' + config.PREFIX + command + ' "Elon Musk" all`\n ',
  						},
  					],
  				},
  			})
  
  		}
  		else {
  			// Get the command arguments
  			let commandArgs = message.content.replace(`${config.PREFIX}${command} `, '')
  			// https://regex101.com/r/qa3KxQ/1/ and https://stackoverflow.com/questions/2817646/javascript-split-string-on-space-or-on-quotes-to-array
  			commandArgs = commandArgs.match(/[^\s"']+|"([^"]*)"+|'([^']*)'/gmi)
  
  			// Search value -> "search"
  			const searchValue = commandArgs[0].replace(/["']/g, '')
  			// Range -> e.g.: 1-30 or 30-40 or all
  			const range = commandArgs[1]
  
  			// Do the request!
  			await requests.getWikipediaReferences(message, searchValue, range)
  		}
  
  	},
  }
  