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

send automatically a message, on startup or later #35

Open
pierreHOH opened this issue Jan 7, 2023 · 3 comments
Open

send automatically a message, on startup or later #35

pierreHOH opened this issue Jan 7, 2023 · 3 comments

Comments

@pierreHOH
Copy link

I would like to use koutchat to send an "automatic" message from a system, but the console mode does not accept a message as an argument because he can't be sent before the user is connected.

Capability to give a message as an argument which will be sent once the user is connected could be useful for this goal.

@blurpy
Copy link
Owner

blurpy commented Jan 8, 2023

That is bit specialized. Are you just going to use this in an automated fashion? If that is the case then you can script what you want like I'm doing here:

https://github.com/blurpy/kouchat/blob/master/src/test/java/net/usikkert/kouchat/functional/HitchhikerTest.java

@pierreHOH
Copy link
Author

pierreHOH commented Jan 9, 2023 via email

@blurpy
Copy link
Owner

blurpy commented Jan 10, 2023

That sounds pretty cool, please let me know how it works out.

You can find more examples of scripting a KouChat client in the integration tests for the Android app:
https://github.com/blurpy/kouchat-android/tree/master/app/src/androidTest/java/net/usikkert/kouchat/android

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