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

Feature request: Controlling a bot with IMs #73

Closed
lemmy04 opened this issue Mar 17, 2022 · 10 comments
Closed

Feature request: Controlling a bot with IMs #73

lemmy04 opened this issue Mar 17, 2022 · 10 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@lemmy04
Copy link

lemmy04 commented Mar 17, 2022

Is your feature request related to a problem? Please describe.
I would like to be able to control a bot with chat commands from the "bot master" account.

Describe the solution you'd like
I would like to send the bot the same commands that are used from the Web UI, but in an IM.
These commands would only be executed if they come from one of the accounts that are set as bot master in the configuration.
For example, "sit " to sit on the object with that uuid, or "Say hello world"

@lemmy04 lemmy04 added the enhancement New feature or request label Mar 17, 2022
@lemmy04 lemmy04 changed the title Controlling a bot with IMs Feature request: Controlling a bot with IMs Mar 17, 2022
@Madpeterz
Copy link
Owner

hi the commands will need to be formatted as the bot is expecting via im

Sit|||ground
Say|||0~#~Hello world

on the wiki under the method is gives a command example.

@Madpeterz Madpeterz added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Mar 17, 2022
@lemmy04
Copy link
Author

lemmy04 commented Apr 30, 2022

I might be blind: how do I control a bot with IM? If I IM my bot and send it this: "Say|||0~#~hello" nothing happens.

@Madpeterz
Copy link
Owner

Madpeterz commented Apr 30, 2022

when you setup your bot did you put your avatar's as the master
https://wiki.blackatom.live/files/JSONSecuritySecurity_MasterUsername.html

@lemmy04
Copy link
Author

lemmy04 commented Apr 30, 2022

d'uh. I put the avatar names in - let me try with UUIDs instead.
If the username doesn't work that page should be updated... XD

@lemmy04
Copy link
Author

lemmy04 commented Apr 30, 2022

Putting the UUID in didnt help either. Sending an IM with exactly this: "Say|||0~#~hello" and nothing happens.

@Madpeterz
Copy link
Owner

If your still stuck feel free to add me in secondlife: Madpeter Zond

@lemmy04
Copy link
Author

lemmy04 commented May 1, 2022

I'm just not getting it. I'm running the bot inside in docker, controlled from portainer, with this compose file: https://gist.github.com/lemmy04/b30d7e1794c49dbcd4b1e78c246865aa (sensitive values, i.e. passwords and logins, have been removed).
I send the bot an IM from the account that is listed as Security_MasterUsername with the text Say|||0~#~Test and it does not work. then, I stop the stack in portainer, start it again, without making any changes, and try again: it works. I restart the stack again, try it again, it doesn't work.

@Madpeterz
Copy link
Owner

you can also reach me on discord: Madpeter#9732

@Madpeterz
Copy link
Owner

Marking this issue as closed for now feel free to contact me if you are stuck.

@lemmy04
Copy link
Author

lemmy04 commented May 14, 2022

I believe I'm getting closer to finding what's going on here: the avatar that I'm having trouble with usually wears a "stepford implant", an attachment that redirects chat via RLV to do its own thing with anything the avatar says, similar to chat translation devices or RLV gags - as soon as i take that off before logging in that account with SecondBot, IM commands seem to work.

Edit: trying to reproduce those findings - and now IM commands work also while the avatar on the bot software is wearing all scripted gadgets....

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

No branches or pull requests

2 participants