Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Question regarding mutiple channels. #24

Open
Mazmol opened this issue Dec 30, 2022 · 1 comment
Open

Question regarding mutiple channels. #24

Mazmol opened this issue Dec 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Mazmol
Copy link
Contributor

Mazmol commented Dec 30, 2022

{
  "token": "bot_token",
  "serverID": "693277318496920420",
  "channelID": "461248569698208129",
  "channelID2": "46123385498208129",
  "reactionEmoji": "⭐",
   "reactionEmoji2": "🌕",
  "embedEmoji": "⭐",**
    "embedEmoji2": "🌕",**
  "threshold": 15,
  "hexcolor": "00AE86",
  "dateCutoff": 3,
  "fetchLimit": 100
}

is it possible to have mutiple channel id, and reaction emoji,

EG : I react to message with ⭐ and goes to channel a but if it has a reaction with 🌕emoji it should go
to B channel. but if it has both it should go to both.

@naeruru
Copy link
Owner

naeruru commented Dec 30, 2022

Unfortunately, the bot isn't set up in a way to account for multiple channels. But I would be happy to explore a way to support that. It will take a bit of time though, because the way I want to do is a bit more general (supporting infinite channels), and will require a bit of change to how the config file works.

Will look into. Hacky solution for now (if wanting to use this code), is to just run two instances of the bot

@naeruru naeruru added the enhancement New feature or request label Dec 30, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants