This commit is contained in:
Emily 2020-04-06 15:54:09 +10:00
parent cdddb4d11d
commit 95d84cfaef
4 changed files with 29 additions and 9 deletions

View file

@ -1,5 +1,4 @@
# woomy-next # 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! 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 # notes for devs
- config.js no longer stores tokens, for that you will need to use a .env file. - please install ESLint and use the included .eslintrc.js file to have properly formatted code when you're writing Woomy
- please use the StandardJS linter when writing code for Woomy.

7
changelog.txt Normal file
View 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
View 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
}

View file

@ -23,13 +23,8 @@ const config = {
// URL of MongoDB database // URL of MongoDB database
mongoDB: 'mongodb://localhost:27017/woomy', mongoDB: 'mongodb://localhost:27017/woomy',
// Default settings for guilds // Default prefix Woomy uses
defaultGuildSettings: { defaultPrefix: '~',
prefix: '~',
systemNotice: true,
modRole: 'Moderator',
adminRole: 'Administrator'
},
// Emojis used by Woomy // Emojis used by Woomy
emojis: { emojis: {