Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Make the bot consider pings for help as "occupied" channels until a time out #13

Open
eshom opened this issue Feb 7, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@eshom
Copy link
Contributor

eshom commented Feb 7, 2021

Let's say someone pings @first-respondR, the bot would check if the channel is occupied. If it's not, it will consider the channel to be occupied by the user that pinged @first-respondR. We'll make the occupied channel state last, let's say, 30 minutes. After that time, the channel will be freed. If a user pings @first-respondR while the channel is still occupied, it will pop up and say: "Sorry, this channel is currently occupied. Try another channel." or something of the sort.

@eshom eshom added the enhancement New feature or request label Feb 7, 2021
@iamericfletcher
Copy link
Contributor

iamericfletcher commented Feb 7, 2021

Thanks for opening @eshom. I was thinking something like this:

  1. Have two separate Discord categories.
    -- General R Help: Available
    -- General R Help: Occupied

  2. For the channels that are in General R Help: Available, a user can claim that particular channel by typing their question. After the question is posted, the channel is then moved to General R Help: Occupied.

  3. The channel(s) in General R Help: Occupied will remain there until a certain threshold of inactivity is met, OR by invoking a command like $close or $end sending the channel back to the General R Help: Available category and also posting a message saying the is now available and perhaps a brief blurb on asking a proper question...

@acylam
Copy link
Collaborator

acylam commented Feb 8, 2021

I'm thinking the question should be pinned to the channel too when it is occupied and it will automatically become available in 15-30mins of idle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants