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

Discord integration #54

Closed
Miodec opened this issue May 22, 2020 · 9 comments
Closed

Discord integration #54

Miodec opened this issue May 22, 2020 · 9 comments
Assignees
Labels
future plans Something that could be worked on in the future new feature A new, typically big, feature or idea

Comments

@Miodec
Copy link
Member

Miodec commented May 22, 2020

Make a discord bot that integrates with the website, assigns the top wpm role automatically and later on mentions users if they get beaten on the leaderboards

@Miodec Miodec added the future plans Something that could be worked on in the future label May 22, 2020
@Miodec Miodec self-assigned this May 29, 2020
@ryan-harrington
Copy link
Contributor

Is there/will there be an API for this?

@Miodec Miodec added the new feature A new, typically big, feature or idea label Jun 8, 2020
@Syn-Tax
Copy link

Syn-Tax commented Jun 9, 2020

There is a discord.js api for node which should work, I've not used it for a while but I can work on it if no one else is.

@Miodec
Copy link
Member Author

Miodec commented Jun 9, 2020

There is a big part of it thats already written by a friend, but thats been put on hold. Im going to follow up on it soon.

@ryan-harrington
Copy link
Contributor

Is there room for volunteers to work on the bot as well?

@Miodec
Copy link
Member Author

Miodec commented Jun 10, 2020

Probably, i would need to get a hold of the bot first and try to understand how it works exactly

@ryan-harrington
Copy link
Contributor

Sounds good.

@ryan-harrington
Copy link
Contributor

Here's an idea:

In order to get a role in the Discord server, you must link your Discord account to your monkey-type account. That way, we can use the Discord ID to give them a role based on their best test score.

@Fuwn
Copy link
Contributor

Fuwn commented Jun 25, 2020

even if the api was private please no a discord bot would be a pretty cool project. would love to help with this as i have a good background with discord.js and it's sister framework, commando. as for the account linking process, this could be achieved in a number of ways, a possibility being that a user is able to direct message the bot with a specific command, then, providing a account token or db id as a argument, that being if we aren't able to get the discord account linking integration working.

a pseudo mock of the account linking system could be;
user > mt!link <username>
bot > Please provide your account token
user > <account token>
bot > cool linked lol

@Miodec
Copy link
Member Author

Miodec commented Jul 7, 2020

Alright, sorry it took so long. Here it is https://github.com/Miodec/monkey-bot

Just the basics, its my first bot aswell so feel free to suggest changes and features.

@Miodec Miodec closed this as completed Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future plans Something that could be worked on in the future new feature A new, typically big, feature or idea
Projects
None yet
Development

No branches or pull requests

4 participants