Axobot-org / Axobot

A cool multipurpose Discord bot made in Python
https://axobot.xyz
MIT License
31 stars 4 forks source link

Suggestion: send messages using webhooks #76

Open refusado opened 1 year ago

refusado commented 1 year ago

I would like to suggest a feature to Axobot team: allow users to send messages from the bot using webhooks instead of sending messages using the bot account directly.

Showing my problem as an example, which is related to RSS feeds: I have an RSS Feed set up that updates us with new articles posted at https://tabnews.com.br. I can set up a #tab-news channel with those updates and that is fantastic. On the other hand, I would like to have a "more professional" look to that channel by sending the articles with the name "Tab News" and using Tab News image as avatar.

image

I think the example looks very simple, but I have several other RSS feeds set up and being able to do this with all of them would be amazing. In addition to being able to control the appearance of how the messages would be sent, I could with this send these messages in private channels where the bot may not have access.

Set up example: /rss hook-posts [feed_id] [webhook_url]

I looked for other alternatives in other communities and different bots and found bots like @interchannel message mover which moves messages between channels. However I also cannot control how messages are sent and this bot only sends individual messages.

So here is another suggestion for you: a feature to move messages sent in one channel to another and preferably the user can configure a webhook. /move [channel_id] [webhook_url]

ZRunner commented 1 year ago

Hello and thanks for your suggestion!

  1. About the RSS feed webhooks: I'm curious why you don't use an external service like Zapier or IFTTT. They'll usually be less limited (in terms of number of feeds as well as message customization) and sometimes quicker than Axobot would be, and actually work with webhooks by design. I'd be glad to know more about your reasons.

  2. About the move command: is your goal to permanently redirect any new message sent in channel A to channel B? Or only move a subset of existing messages? I'd like to talk about it in more depth on our support server, if you don't mind (you can create a suggestion post once there). See you at https://discord.gg/N55zY88 !