-
Notifications
You must be signed in to change notification settings - Fork 53
Conversation
add src directory and refactor imports
add a custom loghandler util function
create a custom error handler with sending error as embbed message functionality
restructure code ,create custom loggers,add error handling in all modules
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.
Yeah! You did it 🎉 Now, Relax 😉 -> Grab a drink ☕ -> And wait for the maintainers to check your contributions. Meanwhile, you can discuss on other issues and solve them 😀
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord Server - we help and encourage each other to contribute to open source little and often 🤓 Any questions, let us know!
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.
Awesome work! 🚀
src/Commands/DSA.js
Outdated
value: 'https://github.com/kunal-kushwaha/DSA-Bootcamp-Java', | ||
}, | ||
{ | ||
name: 'Try hands on git', |
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.
name: 'Try hands on git', | |
name: 'Try hands on Git', |
src/Commands/links.js
Outdated
value: 'https://www.instagram.com/commclassroom/', | ||
}, | ||
{ | ||
name: 'Youtube', |
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.
name: 'Youtube', | |
name: 'YouTube', |
src/Commands/presence.js
Outdated
activity: { | ||
name: 'cm!help', | ||
type: 'LISTENING', | ||
url: 'https://github.com/commclassroom/classroom-monitor-bot.', |
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.
I think this dot should be removed.
url: 'https://github.com/commclassroom/classroom-monitor-bot.', | |
url: 'https://github.com/commclassroom/classroom-monitor-bot', |
src/Commands/source.js
Outdated
'https://discord.js.org' | ||
) | ||
.setDescription( | ||
'Open source discord bot made for ✨Community Classroom✨' |
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.
'Open source discord bot made for ✨Community Classroom✨' | |
'Open Source Discord bot made by and for ✨Community Classroom✨' |
src/Commands/source.js
Outdated
'Open source discord bot made for ✨Community Classroom✨' | ||
) | ||
.addFields({ | ||
name: 'Github', |
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.
name: 'Github', | |
name: 'GitHub', |
done ^_^ |
if there's a problem with my pull request? please let me know ^_^ |
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.
Looks good except for a few typos. Please fix the typos suggested by Panquesito. Also kindly remove the University Leader field as the program is discontinued
src/Commands/links.js
Outdated
value: 'https://t.me/commclassroom', | ||
}, | ||
{ | ||
name: 'Become University Leader', |
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.
University Leader Program was discontinued. Kindly Remove this field
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.
sure!
I have removed all typos and the deprecated University field leader code. please have a look :) |
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.
LGTM
src/Commands/help.js
Outdated
.setTitle('Community monitor for help') | ||
.setURL('https://github.com/commclassroom/classroom-monitor-bot') | ||
.setAuthor( | ||
'Classroon monitor', |
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.
'Classroon monitor', | |
'Classroom Monitor', |
src/Commands/help.js
Outdated
try { | ||
module.exports = { | ||
name: 'help', | ||
description: 'sends the help command', |
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.
description: 'sends the help command', | |
description: 'Sends a list of valid commands (a.k.a. help command)', |
src/Commands/links.js
Outdated
try { | ||
module.exports = { | ||
name: 'links', | ||
description: 'sends the link relevant to comm classroom', |
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.
description: 'sends the link relevant to comm classroom', | |
description: 'Sends all Community Classroom's socials', |
src/Commands/links.js
Outdated
.setTitle('Community Classroom Social accounts') | ||
.setURL('https://github.com/commclassroom/classroom-monitor-bot') | ||
.setAuthor( | ||
'Classroon monitor', |
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.
'Classroon monitor', | |
'Classroom Monitor', |
src/Commands/source.js
Outdated
try { | ||
module.exports = { | ||
name: 'source', | ||
description: 'sends the source code of the bot', |
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.
description: 'sends the source code of the bot', | |
description: 'Sends a link to the bot's source code', |
src/Commands/source.js
Outdated
.setTitle('Community Classroom Discord bot') | ||
.setURL('https://github.com/commclassroom/classroom-monitor-bot') | ||
.setAuthor( | ||
'Classroon monitor', |
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.
'Classroon monitor', | |
'Classroom Monitor', |
Co-authored-by: David Leal <halfpacho@gmail.com>
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.
Many things are not fixed yet. Please fix them. 🙂
please check now ^_^ |
@Panquesito7 Can you have a look at this again (As you have gone through once and suggested changes) |
src/Commands/DSA.js
Outdated
'Classroon Monitor', | ||
|
||
'Classroom Monitor', |
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.
'Classroon Monitor', | |
'Classroom Monitor', | |
'Classroom Monitor', |
remove extra agrument value in dsa module
this request took longer than usual @Panquesito7 thanks for reviewing and guiding me through my errors ^_^ |
This pull request is covered by pull request #146 . |
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.
These are all the issues that I see. After this, I'll give my approval. 🚀
src/Commands/DSA.js
Outdated
.setTitle('Community Classroom DSA course details') | ||
.setURL('https://github.com/commclassroom/classroom-monitor-bot') | ||
.setAuthor( | ||
'Classroon Monitor', |
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.
'Classroon Monitor', | |
'Classroom Monitor', |
src/Commands/DSA.js
Outdated
) | ||
.setTimestamp() | ||
.setFooter( | ||
'Want help? Classroom monitor is just `cm!help` far', |
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.
'Want help? Classroom monitor is just `cm!help` far', | |
'Want help? Classroom Monitor is just `cm!help` far', |
src/Commands/help.js
Outdated
.setTitle('Community monitor for help') | ||
.setURL('https://github.com/commclassroom/classroom-monitor-bot') | ||
.setAuthor( | ||
'Classroon Monitor', |
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.
'Classroon Monitor', | |
'Classroom Monitor', |
src/Commands/help.js
Outdated
}) | ||
.setTimestamp() | ||
.setFooter( | ||
'Want help? Classroom monitor is just `cm!help` far', |
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.
'Want help? Classroom monitor is just `cm!help` far', | |
'Want help? Classroom Monitor is just `cm!help` far', |
src/Commands/links.js
Outdated
.setTitle('Community Classroom Social accounts') | ||
.setURL('https://github.com/commclassroom/classroom-monitor-bot') | ||
.setAuthor( | ||
'Classroon Monitor', |
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.
'Classroon Monitor', | |
'Classroom Monitor', |
src/Commands/links.js
Outdated
) | ||
.setTimestamp() | ||
.setFooter( | ||
'Want help? Classroom monitor is just `cm!help` far', |
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.
'Want help? Classroom monitor is just `cm!help` far', | |
'Want help? Classroom Monitor is just `cm!help` far', |
src/Commands/source.js
Outdated
.setTitle('Community Classroom Discord bot') | ||
.setURL('https://github.com/commclassroom/classroom-monitor-bot') | ||
.setAuthor( | ||
'Classroon Monitor', |
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.
'Classroon Monitor', | |
'Classroom Monitor', |
src/Commands/source.js
Outdated
}) | ||
.setTimestamp() | ||
.setFooter( | ||
'Want help? Classroom monitor is just `cm!help` far', |
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.
'Want help? Classroom monitor is just `cm!help` far', | |
'Want help? Classroom Monitor is just `cm!help` far', |
done! |
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.
LGTM 🚀 Thank you for your contribution! 😄👍
Description
This closes issue #141 and adds some code enhancements.
what this pull request includes :
Check List (mark all applicable checkboxes)
Screenshots (if applicable)