ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Discord/Matrix Rewards Bot Similar To HeyTaco and Tatsu Bot

Open candideu opened this issue 2 years ago • 21 comments

Project description

Hello Open-Source-Ideas community! I'd like to pitch a Discord and/or Matrix bot that collects member-assigned points / currency to redeem rewards.

The idea

The way that HeyTaco works is that a user can give another user a "taco" by mentioning their name and adding a :taco: emoji. Every user has 5 tacos to give out, and can give them out to encourage others, thank them, etc.

image

Those "tacos" can then be redeemed for virtual gifts. For example, in one Slack channel I'm in, you can get free downloads, code snippets, physical objects, etc. Here is an example of a HeyTaco dashboard with redeemable gifts:

image

As far as I can tell, there are no open-source versions of this for Discord. The closest I could find was the Tatsu Bot's Server Shop (video demo), but it looks like you can only redeem badges or server roles. However, I would like for users to be able to choose a digital download, for instance.

Relevant Technology

From my quick research, it looks like ~~the discord.py Library and/or~~ discord.js would be worth looking into, as well as the Discord Developer documentation.

For Matrix, I was only able to find this page that listed all of their bots: https://matrix.org/bots/ and https://github.com/turt2live/matrix-bot-sdk.

Similar implementations that could serve as a starting point

I tried looking for similar bots, but they all seemed to be for Slack. Here are some found on Github:

Complexity and required time

I'm not the most knowledgeable on these frameworks, so please let me know if I should tick other options for the complexity. That said, I'm open to helping with the design of the user interface.

Complexity

  • [ ] Beginner - This project requires no or little prior knowledge of the technolog(y|ies) specified to contribute to the project
  • [x] Intermediate - The user should have some prior knowledge of the technolog(y|ies) to the point where they know how to use it, but not necessarily all the nooks and crannies of the technology
  • [ ] Advanced - The project requires the user to have a good understanding of all components of the project to contribute

Required time (ETA)

  • [x] Little work - A couple of days
  • [x] Medium work - A week or two
  • [ ] Much work - The project will take more than a couple of weeks and serious planning is required

Categories

  • [ ] Mobile app
  • [ ] IoT
  • [ ] Web app
  • [ ] Frontend/UI
  • [ ] AI/ML
  • [ ] APIs/Backend
  • [ ] Voice Assistant
  • [ ] Developer Tooling
  • [ ] Extension/Plugin/Add-On
  • [ ] Design/UX
  • [ ] AR/VR
  • [x] Bots
  • [ ] Security
  • [ ] Blockchain
  • [ ] Futuristic Tech/Something Unique

candideu avatar Aug 31 '21 01:08 candideu

discord.py has been deprecated and bots will soon no longer be allowed to read messages.

KaKi87 avatar Aug 31 '21 21:08 KaKi87

discord, teams and slack are bad platforms that shouldn't get anyones free time support. use matrix if you have free time and want to contribute to communications that matter

G2G2G2G avatar Dec 27 '21 15:12 G2G2G2G

matrix is hard to install and understand, and has no voice channels.

KaKi87 avatar Dec 27 '21 16:12 KaKi87

1 command / 2 clicks isn't hard to install

hard to understand

for those types of people... so is email, not hard to use though wrong

G2G2G2G avatar Dec 28 '21 07:12 G2G2G2G

1 command / 2 clicks

If it's as simple as that, tell me : which command, which two clicks ? Anything more would mean you lied, and any undesired output would mean you lied.

KaKi87 avatar Dec 28 '21 13:12 KaKi87

https://matrix.org/clients/ have fun, brainlet. element is 1 click install. pamac build element-desktop-nightly-bin single command

G2G2G2G avatar Dec 29 '21 10:12 G2G2G2G

Oh, sorry I did not express myself well : when I said matrix is hard to install and understand, I didn't meant the client, but the server

KaKi87 avatar Dec 29 '21 12:12 KaKi87

You mean synapse? apt install synapse isn't that hard...

G2G2G2G avatar Dec 29 '21 21:12 G2G2G2G

I'm working on an open source version of HeyTaco for Discord. Does anyone know a dev who has expertise in making Matrix bots?

candidexmedia avatar Mar 19 '22 18:03 candidexmedia

matrix is hard to install and understand, and has no voice channels.

@KaKi87 I've been trying out Matrix using the Element client, and it looks like Element has voice and video calls now! 😄 There is also a Jitsi integration.

  • https://element.io/blog/introducing-native-matrix-voip-with-element-call/
  • https://element.io/blog/introducing-voice-messages-and-so-much-more/

It supports a max of 8 people for now, but it looks like there's hope for more capacity in the future.

candidexmedia avatar Mar 19 '22 19:03 candidexmedia

I'm working on an open source version of HeyTaco for Discord. Does anyone know a dev who has expertise in making Matrix bots?

the guy who makes all the maubot stuff, mautrix, mautrix-go, gomuks...

Also the clients had video and voice for years, including when he posted that. He's talking about voice channels as he said

G2G2G2G avatar Mar 20 '22 04:03 G2G2G2G

https://matrix.org/clients/ have fun, brainlet. element is 1 click install. pamac build element-desktop-nightly-bin single command

Hi, please try to be kind to other open source contributors.

FredrikAugust avatar Mar 23 '22 07:03 FredrikAugust

@KaKi87 Seems discord.py is back and this bot is possible.

sachin-sankar avatar Apr 22 '22 16:04 sachin-sankar

@Chicken1Geek Personally, I migrated my Discord Bot from discord.py to discord.js and even though the learning curve has been hard (since I wasn't familiar with JS), I think the JS library is better regardless.

VanshSharma14 avatar Aug 05 '22 14:08 VanshSharma14

I'm working on an open source version of HeyTaco for Discord. Does anyone know a dev who has expertise in making Matrix bots?

Hi folks! I commissioned the Discord bot from a freelancer, made some modifications, and open-sourced the code. Check it out: https://github.com/havecookie/haveacookie

That said, the Github page is still very much under construction, and I'm in need of assistance with having the data exist in a remote database (as opposed to what the freelance implemented with JSON).

candidexmedia avatar Aug 14 '22 22:08 candidexmedia

discord.py has been deprecated and bots will soon no longer be allowed to read messages.

Seems like the project is no longer depreciated https://gist.github.com/Rapptz/c4324f17a80c94776832430007ad40e6

He has since then release v2

abe-101 avatar Oct 20 '22 15:10 abe-101

I'll be happy to contribute to this cool idea for matrix if we choose another language than the javascript & co (python or ruby are fine)

MartinDelille avatar Feb 10 '23 13:02 MartinDelille

@MartinDelille That's wonderful! I have zero Python or Ruby knowledge, but I'm open to adding a repo in HaveaCookie for Matrix in the language of your choice.

If you're still interested, let's continue discussions here: https://github.com/havecookie/haveacookie/issues/5

candidexmedia avatar Feb 10 '23 16:02 candidexmedia

discord.py has been deprecated and bots will soon no longer be allowed to read messages.

well it's not again now. It has updated to support Discord API v10.

TNTErick avatar May 23 '23 12:05 TNTErick