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

Registers channel ID for arguments when it cant send messages in channels. #399

Open
ghost opened this issue May 21, 2021 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented May 21, 2021

So, the client saves the channel id to provide it args, but, when you use the bot in a channel where it cannot type, it sends a message to the user privately.

Now, it doesn't register this new channel to ask for args, which resulted in the command locking

Essentially, i did a command in a channel where the bot couldnt send a message, then the bot sent be a private dm with the question at hand, but did not respond since the channel that was supposed to be receiving those arguments (before it obv failed to send) was the listener, should be an easy fix. Sorry if i explained badly, i can take a video if you need the bug reproduced.

@S222em
Copy link

S222em commented Jul 13, 2021

Yes, that's true. But there is no way (that I know of) to get the dm channel for another purpose of using the send() method. That means that the command should be cancelled when that happens, that's the only way we can solve this. Agreed?

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

1 participant