-
Notifications
You must be signed in to change notification settings - Fork 12
Release Day III #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Day III #92
Conversation
Documentation for Max Bot usage once installed. Includes a link in README.md to the usage doc.
Added information about Nodemailer module. Also replaced a reference to `.env` file with `max.config.js` which is current correct env config file.
Create usage documentation
the username can be change but user id will stay the same
…y process it's ok
Custom method now generates verification codes of correct specified length (replaces hard-coded max value)
Create custom exponent method
Email template
usage.md
Outdated
|
||
Max also includes a couple of special commands just for Officers and above for making announcements to multiple channels. | ||
|
||
### !shout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove the !shout and !shoutAll since the functionality will not be in this release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Let's drop this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor typos. A couple issues with missing params in util.log()
s.
Need to change Line 57 value to 600000
bot/controllers/verify.js
Outdated
if (guild[el].name === 'crew') { | ||
m.member.addRole(guild[el].id); | ||
} else { | ||
util.log('the moredator has to create the crew role'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: moredator -> moderator; Also, no output
and level
params passed to util.log()
. Recommend util.log(<message>, el, 2);
usage.md
Outdated
|
||
Max also includes a couple of special commands just for Officers and above for making announcements to multiple channels. | ||
|
||
### !shout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Let's drop this.
bot/controllers/verify.js
Outdated
email, | ||
uuid: uuidv4(), | ||
verified: 1, | ||
}).then(util.log).catch(util.error); | ||
}); | ||
// maping guild roles to find the crew role id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: maping -> mapping
bot/controllers/verify.js
Outdated
@@ -41,6 +49,7 @@ module.exports = () => { | |||
if (validDomains.includes(emailDomain)) { | |||
const codeLength = 6; | |||
const code = generateCode(codeLength); | |||
util.log('code', code); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No debug level param in util.log()
.
Set collector time to 600000ms (10min) instead of 15000ms (15s) used in testing.
Release Day III