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

Is it possible to make the bot generate a reply after someone sends a message in the chat? #25

Closed
Ursometamorfo opened this issue Nov 25, 2021 · 1 comment

Comments

@Ursometamorfo
Copy link

I've been using this bot for a quite a while rn and i must say it's one of the best from what i've seen out there, even if we're using portuguese instead of english with him he got the hang of the basic structure pretty quickly and is already experimenting with combining other words and phrases, but i would like to ask/know if it's possible to make a feature where the bot generates an answer after somebody sends a message in chat instead of the timer, i'm going to be honest with you i don't know how this bot works 100% that's why i'm interested to know if such a thing is possible

Thanks for the attention, Diogo

@tomaarsen
Copy link
Owner

@Ursometamorfo In a way, yes! Through a command: !g.
Any chat member may type !g hello in the chat, and the bot will generate a message starting with hello. You can also simply use !g, and the bot will generate a message just like with the timer. (!g is short for !generate, which works identically)

However, it's not possible for the bot to generate a message directly after someone sends an arbitrary message. It will only generate if that message starts with !g or !generate.

(If this doesn't do anything, then make sure that "EnableGenerateCommand" is set to true in the settings.json configuration file)

Let me know if that helps!

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

2 participants