random
This commit is contained in:
		
							parent
							
								
									cdddb4d11d
								
							
						
					
					
						commit
						95d84cfaef
					
				
					 4 changed files with 29 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,4 @@
 | 
			
		|||
# woomy-next
 | 
			
		||||
Rewrite of Woomy's codebase, because I'm getting really sick of working on shitty two year-old code. If you aren't a developer, please switch back to the master branch!
 | 
			
		||||
# notes for devs
 | 
			
		||||
- config.js no longer stores tokens, for that you will need to use a .env file.
 | 
			
		||||
- please use the StandardJS linter when writing code for Woomy.
 | 
			
		||||
- please install ESLint and use the included .eslintrc.js file to have properly formatted code when you're writing Woomy
 | 
			
		||||
							
								
								
									
										7
									
								
								changelog.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								changelog.txt
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
Woomy 2.0:
 | 
			
		||||
- A lot of Woomy's code has been rewritten
 | 
			
		||||
- Woomy now uses MongoDB for settings storage instead of enmap
 | 
			
		||||
- Logger now logs which file a log came from
 | 
			
		||||
- Functions file has been separated into multiple helpers
 | 
			
		||||
- Added systemNotice feature, stops Woomy from outputting permission errors and stuff
 | 
			
		||||
- New ping command
 | 
			
		||||
							
								
								
									
										19
									
								
								commandTemplate.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								commandTemplate.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
exports.conf = {
 | 
			
		||||
  enabled: true,
 | 
			
		||||
  guildOnly: false,
 | 
			
		||||
  aliases: [],
 | 
			
		||||
  permLevel: 'User',
 | 
			
		||||
  requiredPerms: [],
 | 
			
		||||
  cooldown: 2000 // miliseconds
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.help = {
 | 
			
		||||
  name: '',
 | 
			
		||||
  category: '',
 | 
			
		||||
  description: '',
 | 
			
		||||
  usage: ''
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
exports.run = async (client, message, args, level, data) => {
 | 
			
		||||
  // epic code goes here
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -23,13 +23,8 @@ const config = {
 | 
			
		|||
  // URL of MongoDB database
 | 
			
		||||
  mongoDB: 'mongodb://localhost:27017/woomy',
 | 
			
		||||
 | 
			
		||||
  // Default settings for guilds
 | 
			
		||||
  defaultGuildSettings: {
 | 
			
		||||
    prefix: '~',
 | 
			
		||||
    systemNotice: true,
 | 
			
		||||
    modRole: 'Moderator',
 | 
			
		||||
    adminRole: 'Administrator'
 | 
			
		||||
  },
 | 
			
		||||
  // Default prefix Woomy uses
 | 
			
		||||
  defaultPrefix: '~',
 | 
			
		||||
 | 
			
		||||
  // Emojis used by Woomy
 | 
			
		||||
  emojis: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue