Skip to content
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

Add discord bot #45

Merged
merged 7 commits into from
Oct 31, 2020
Merged

Add discord bot #45

merged 7 commits into from
Oct 31, 2020

Conversation

Arnav-Khare
Copy link
Contributor

Copy link
Member

@daemon1024 daemon1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the awesome work on this @Arnav-Khare . I have requested some changes. Please go through it once 😄

discord-bot/.gitignore Outdated Show resolved Hide resolved
discord-bot/README.md Outdated Show resolved Hide resolved
discord-bot/bot.js Outdated Show resolved Hide resolved
Comment on lines +115 to +118
if(message.content === '!instagram')
{
message.channel.send('https://tenor.com/view/dont-do-that-avengers-black-panther-we-dont-do-that-here-gif-12042935')
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🔥 💯

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

discord-bot/package.json Show resolved Hide resolved
discord-bot/package.json Show resolved Hide resolved
Copy link
Member

@sidntrivedi012 sidntrivedi012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small changes. Other than that, good work @Arnav-Khare . Thanks for the discord bot.

discord-bot/README.md Outdated Show resolved Hide resolved
discord-bot/README.md Outdated Show resolved Hide resolved
discord-bot/README.md Outdated Show resolved Hide resolved
discord-bot/README.md Outdated Show resolved Hide resolved
discord-bot/README.md Outdated Show resolved Hide resolved
discord-bot/bot.js Outdated Show resolved Hide resolved
discord-bot/bot.js Outdated Show resolved Hide resolved
Comment on lines +115 to +118
if(message.content === '!instagram')
{
message.channel.send('https://tenor.com/view/dont-do-that-avengers-black-panther-we-dont-do-that-here-gif-12042935')
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

discord-bot/package.json Outdated Show resolved Hide resolved
discord-bot/package.json Outdated Show resolved Hide resolved
@sidntrivedi012
Copy link
Member

@Arnav-Khare any update on the changes? Feel free to ask if you need any help in implementing the changes. 🙂

Copy link
Contributor Author

@Arnav-Khare Arnav-Khare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had implemented the required changes...can you please review it.. @daemon1024 @sidntrivedi012 ...and sorry for the delay.

Copy link
Member

@sidntrivedi012 sidntrivedi012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

discord-bot/bot.js Outdated Show resolved Hide resolved
{
let comicNo = Math.floor(Math.random() * (2000 - 100 + 1) + 100)

axios.get(`http://xkcd.com/${comicNo}/info.0.json`).then(resp => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its really better to use axios 👍

@sidntrivedi012 sidntrivedi012 merged commit c9b4fab into osdc:master Oct 31, 2020
@daemon1024 daemon1024 mentioned this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants