forked from embee/woomy
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
|
# 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
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
|
// 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: {
|
||||||
|
|
Loading…
Reference in a new issue