Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Problem adding multiple redirections #8

Closed
pagelift-be opened this issue Apr 30, 2019 · 3 comments
Closed

Problem adding multiple redirections #8

pagelift-be opened this issue Apr 30, 2019 · 3 comments

Comments

@pagelift-be
Copy link

I need multiple redirections with one source and one destination. I tried adding a second one and according to the output it works:

Schermafbeelding 2019-04-30 om 21 17 17

Schermafbeelding 2019-04-30 om 21 18 13

However, the second message is not showing up in my server. When I change one of the options, for example includeSource (no matter if it's in the first or second redirect) they DO both show. Any idea why?

@MitchTalmadge
Copy link
Owner

Very interesting, I will test this and let you know. I have a college final tomorrow so I'll try to get to it soon!

@ahmedwalid05
Copy link

I know it's a bit late to reply here.
But lastEcho variable is what's causing this issue. it will check it before sending in another channel, so if you are trying to send the same message to two locations, it will cause an issue

@MitchTalmadge
Copy link
Owner

Thanks and sorry for the huge delay. This is fixed now, I have removed lastEcho and properly use a random nonce instead.

https://github.com/MitchTalmadge/discord-echobot/releases/tag/2.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants