hunter-packages / hunter-bot

Bot for Hunter package manager
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

Bot help message #4

Open ruslo opened 8 years ago

ruslo commented 8 years ago

In case you don't remember (don't know) what commands bot understand and in case you write something wrong (or have no permissions to do bot control) we should response with the help command:

@ingenue do something -> ingenue: don't understand this command, available commands: <help> @ingenue do release -> ingenue: you don't have permissions for this command

Cyberunner23 commented 8 years ago

<help> could perhaps point to some documentation on the wiki/readthedocs

ruslo commented 8 years ago

Ok, I will create it https://github.com/hunter-packages/hunter-bot/issues/5

Cyberunner23 commented 8 years ago

Help command implemented in 94db7f3, just need to finish documentation on https://hunterbot.readthedocs.io

ruslo commented 8 years ago

Not working, reopen

ruslo commented 8 years ago

@Cyberunner23 have you tried it? Can you show the repo with response?

Cyberunner23 commented 8 years ago

@ruslo here it is https://github.com/testbotcyberunner23/testbot/issues/1

ruslo commented 8 years ago

Awesome, but for some reason it doesn't work for me :(

Here is config:

[config]
github_bot_name = "testbot-p83yN2"
github_bot_token = "00...3e"
github_follow_repo = "testbot-p83yN2/test-repo"
github_owner_name = "testbot-p83yN2"
github_owner_token = "00...3e"
listen_port = "43547"
local_ip_address = "127.0.0.1"
public_ip_address = "104.131.111.22"
whitelist = ["ruslo", "testbot-xbQ9aJ"]

[state]
github_webhook_secret = "15...38"
ruslo commented 8 years ago

No errors in logs:

31-Aug-2016 08:48:22:044009222: Info:  Thread 'main': Logger booted.
31-Aug-2016 08:48:22:044319102: Info:  Thread 'main': Opening config...
31-Aug-2016 08:48:22:045025590: Info:  Thread 'main': Success!
31-Aug-2016 08:48:22:045345354: Info:  Thread 'main': Config validation passed.
31-Aug-2016 08:48:22:045423504: Info:  Thread 'main': Setting up webhooks...
31-Aug-2016 08:48:22:138124180: Info:  Thread 'main': Success!