-
Notifications
You must be signed in to change notification settings - Fork 6
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
Setup / installation instructions #76
Comments
There is still a feature I intend to do that will eventually change setup instructions (#58), hence why there is nothing in the readme yet. That said, I'll give a rough outline of how to get started with the current version. I'm not sure what your level of expertise is, so feel free to ask follow-up questions.
Once all that is done, the bot should work. |
I'll give it a go later, thanks. Will let you know if I run into any hiccups |
Thanks, think I managed to get the setup done will play around with this later |
@zephyrtronium Question on this one managed to set up the user and wanted to know, should I set up a db instance myself or is that done through the bot run? I tried setting up the user, but not completely sure if I set everything up right myself The user didn't auto-connect to a channel, so I made it join manually, and trying to use a say command to see if it's aware returned this error
Although to be fair I kept this default Should I change it to a path? # db is a table of databases used by the bot.
# Exactly one of sqlbrain and kvbrain must be defined.
[db]
# sqlbrain is an SQLite3 connection string for the brain database.
# If sqlbrain is defined, the SQLite3 implementation is used.
sqlbrain = 'file:$ROBOT_SQLITE'
# kvbrain is the directory in which learned knowledge is stored.
# If kvbrain is defined, the Badger implementation is used.
#kvbrain = '$ROBOT_KNOWLEDGE'
# kvflag configures the brain database as a Badger "superflag" string.
# It is ignored when not using the Badger implementation.
#kvflag = ''
# privacy is an SQLite3 connection string for the database where privacy
# information is stored.
privacy = 'file:$ROBOT_SQLITE'
# spoken is an SQLite3 connection string for the database where generated
# message traces are stored.
spoken = 'file:$ROBOT_SQLITE' |
Ok, I see what I did wrong here So now I'm at a point where it's operational but I don't seem to see it learning anything does the channel need to be live for it to interact with the DB?
|
Yes, the stream needs to be live for Robot to learn from it. The assumption is that offline chat is generally unmoderated, and Robot generally relies on moderators to keep its knowledge appropriate. I've considered adding a configuration option to override that behavior to help with testing an installation, but it's been low priority so far. |
Gotcha, thanks for the help again |
Sorry for bothering on a closed issue Just trying to debug right now So not sure if it's config related or not, or does robot have a minimum learning cycle But right now robot isn't able to say anything in chat unless it's a copy-pasta. it will only repeat existing messages but never speak for itself Any idea what might be the reason, even when stream is online |
Robot should learn immediately, so there must be something off in the config. Do the values for learn and send on that channel match? If you open the database in the sqlite3 cli or the viewer of your choice, do you see entries in the knowledge table ( I should also mention that my instance of Robot was indefinitely suspended without warning from Twitch for spam, so until such time as my appeal may be accepted, I won't be continuing development on this project. I'm still happy to help you get your instance working, of course, although I strongly recommend that you use it on a separate account from your own, preferably signed up with a different email address, if you aren't already doing that. |
The knowledge table is definitely populating, and most of the config was kept as default minus some additions [global.privileges]
twitch = [
{ name = 'nightbot', level = 'ignore' },
{ name = 'frostytoolbots', level = 'ignore' },
{ name = 'tangiabot', level = 'ignore' },
{ name = 'soundalerts', level = 'ignore' },
{ name = 'blerp', level = 'ignore' },
{ name = 'kofistreambot', level = 'ignore' },
{ name = 'streamelementsbot', level = 'ignore' },
]
[tmi]
cid = 'secretsshhhhh'
secret = 'D:\robot\twitchSecret'
redirect = 'http://localhost'
token = 'D:\robot\tmi_refresh'
owner = { id = '961395622', name = 'finleyfisch' }
rate = { every = 30, num = 20 }
[twitch.finleyfisch]
channels = ['#finleyfisch']
learn = 'finleyfisch'
send = 'bocchi'
block = '(?i)cucumber[^$x]'
responses = 0.02
rate = { every = 10.1, num = 2 }
copypasta = { need = 2, within = 30 }
privileges = [
{ name = 'sethrah', level = 'moderator' },
{ name = 'finleyfisch', level = 'moderator' },
]
[twitch.bocchi.emotes]
'btw make sure to stretch, hydrate, and take care of yourself <3' = 1
[twitch.bocchi.effects]
'AAAAA' = 44444 |
Oh, I think I understand what you meant with learn and send Updating them # learn is the tag used to learn Markov chain data from this channel.
learn = 'finleyfisch'
# send is the tag used to generate messages.
send = 'finleyfisch' If this is what you meant, then I might have been confused by the comment |
Yeah, that seems to have fixed it >.< We created a new user for the bot so hopefully it won't get spam blocked. We only have it learning and living in one channel |
Hi there, trying to set up robot for a friend, but running into some issues, and I'm not sure what troubleshooting steps I should follow first as I don't see any instructions for getting robot set up for the first time
The text was updated successfully, but these errors were encountered: