pastorhudson / pcobot

PCO Bot is a bot that integrates with the Planning Center Online API. It's built on Will Bot.
MIT License
14 stars 12 forks source link

Fixed name vs handle mismatch in logging and help #72

Closed Chalta closed 6 years ago

Chalta commented 6 years ago

https://github.com/pastorhudson/pcobot/issues/70

pastorhudson commented 6 years ago

What about the setting in config.py WILL_HANDLE = "cbcbot" Help should pull that setting rather than the handle from slack I think.

# Your will's mention handle. (aka @will)  Note that this is not backend-specific,
# and is only used for the generation of help text.
WILL_HANDLE = "cbcbot"
Chalta commented 6 years ago

I don't know if WILL_HANDLE is actually used anywhere? Having one few config vars to set is nice, since we can get his handle automatically in the backend IO.

pastorhudson commented 6 years ago

It worked before when I had it set in config it correctly put it in help, but getting it from backend makes more sense. Can we pull this in here to dev branch?