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

Help mode behaves very strangely #102

Open
36degrees opened this issue Nov 23, 2020 · 1 comment
Open

Help mode behaves very strangely #102

36degrees opened this issue Nov 23, 2020 · 1 comment

Comments

@36degrees
Copy link

If you say help the bot lists a number of things it can tell you about.

If you reply using any of the keywords, it just repeats the same list again.

However, if you then go on to say something else (anything that is not one of the keywords), suddenly all of the responses to the keywords you mentioned are then said. For example:

Oliver Byford (Ollie)  9:55 AM
help

MichaelBotSpallAPP  9:55 AM
I can tell you about:
welcome
invites
announcements
roles
weather
Which would you like to know more about? (say done when you are finished)

Oliver Byford (Ollie)  9:55 AM
welcome

MichaelBotSpallAPP  9:55 AM
I can tell you about:
welcome
invites
announcements
roles
weather
Which would you like to know more about? (say done when you are finished)

Oliver Byford (Ollie)  9:55 AM
invites

MichaelBotSpallAPP  9:55 AM
I can tell you about:
welcome
invites
announcements
roles
weather
Which would you like to know more about? (say done when you are finished)

Oliver Byford (Ollie)  9:55 AM
invites

MichaelBotSpallAPP  9:55 AM
I can tell you about:
welcome
invites
announcements
roles
weather
Which would you like to know more about? (say done when you are finished)

Oliver Byford (Ollie)  9:55 AM
blah blah blah

MichaelBotSpallAPP  9:55 AM
If you say welcome in this private chat, I'll repeat the welcome message
9:55
To invite someone to this slack, just say invite <email> in this private chat, or mentioned to me in a channel and I'll send an email to them to invite them.
Only people with domains in the following list will get an invite: acas.org.uk, awe.co.uk, bankofengland.co.uk, biglotteryfund.org.uk, bl.uk, bmtdsl.co.uk, caa.co.uk, cqc.org.uk, ddc-mod.org, digital.nhs.uk, electoralcommission.org.uk, gov.scot, gov.uk, hee.nhs.uk, heritagefund.org.uk, hes.scot, highwaysengland.co.uk, hlf.org.uk, hmcts.net, hs2.org.uk, jncc.gov.uk, judicialappointments.digital, leadershipacademy.nhs.uk, llyw.cymru, marinemanagement.org.uk, mod.uk, naturalengland.org.uk, nature.scot, nhs.net, nhsbt.nhs.uk, nhsx.nhs.uk, nice.org.uk, os.uk, parliament.scot, parliament.uk, police.uk, scotent.co.uk, sepa.org.uk, slc.co.uk, socialcare.wales, stfc.ac.uk, tfwm.org.uk, tnlcommunityfund.org.uk, transportforthenorth.com, ukri.org, wiltonpark.org.uk, wmca.org.uk.
You can submit a pull request to change the list in https://github.com/bruntonspall/xgovslackbot/blob/master/app/domains.js to add a domain I don't know about
9:55
To invite someone to this slack, just say invite <email> in this private chat, or mentioned to me in a channel and I'll send an email to them to invite them.
Only people with domains in the following list will get an invite: acas.org.uk, awe.co.uk, bankofengland.co.uk, biglotteryfund.org.uk, bl.uk, bmtdsl.co.uk, caa.co.uk, cqc.org.uk, ddc-mod.org, digital.nhs.uk, electoralcommission.org.uk, gov.scot, gov.uk, hee.nhs.uk, heritagefund.org.uk, hes.scot, highwaysengland.co.uk, hlf.org.uk, hmcts.net, hs2.org.uk, jncc.gov.uk, judicialappointments.digital, leadershipacademy.nhs.uk, llyw.cymru, marinemanagement.org.uk, mod.uk, naturalengland.org.uk, nature.scot, nhs.net, nhsbt.nhs.uk, nhsx.nhs.uk, nice.org.uk, os.uk, parliament.scot, parliament.uk, police.uk, scotent.co.uk, sepa.org.uk, slc.co.uk, socialcare.wales, stfc.ac.uk, tfwm.org.uk, tnlcommunityfund.org.uk, transportforthenorth.com, ukri.org, wiltonpark.org.uk, wmca.org.uk.
You can submit a pull request to change the list in https://github.com/bruntonspall/xgovslackbot/blob/master/app/domains.js to add a domain I don't know about
9:55
I didn't understand that, so I assume you are done
@36degrees
Copy link
Author

Related, based on #96 it seems like the instructions around invites are out of date.

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

No branches or pull requests

1 participant