Zarthus / irc-pokemon-go-status

A Cinch IRC bot that spits out status changes from Pokémon Go servers.
MIT License
1 stars 0 forks source link

Newbie questions! #3

Open antdude opened 8 years ago

antdude commented 8 years ago

What are the command for this IRC Pokemon Go Status bot? I tried help, but got nothing.

Thank you in advance. :)

Zarthus commented 8 years ago

There's only !gostatus, the bot announces by itself except I turned off @reporting due to flood. Turn it on by changing https://github.com/Zarthus/irc-pokemon-go-status/blob/master/lib/gobot/plugins/go_status.rb#L15 from false to true

Right now though it appears to only check for the login servers, and MMOStatus captures all servers.

Referencing to http://www.mmoserverstatus.com/pokemon_go would be more accurate

antdude commented 8 years ago

Ah thanks. Yeah, I never saw any announcements. I tried gostatus command, but nothing: ...

[10:23am] <Ant> DurANT gostatus
[10:23am] <Ant> DurANT ogostatus
[10:23am] <Ant> DurANT o gostatus
[10:23am] <Ant> hmm
[10:23am] <Ant> !gostatus
[msg(DurANT)] gostatus

...

$ pwd /home/ant/bin/irc-pokemon-go-status/conf $ cat config.yml

irc:
  server: "irc.[deleted].net"
  server_password:
  port: 6697
  ssl: true
  ssl_verify: false
  bind:
  umodes:

  realname: "Pokémon Go Status Bot"
  username: "PokemonGoStatusBot"
  nick: "DurANT"

  auth:
    cert:
      client_cert:

    sasl:
      account:
      password:

  channels:
    - "#bots,#linux"

logging: true
prefix: "o"
source_url: "https://github.com/zarthus/irc-pokemon-go-status"
Zarthus commented 8 years ago

Your prefix is set to o, I can't say I've ever tried an alphabetical character, but try ogostatus

If that doesn't work, try changing the prefix to ! to confirm.

Zarthus commented 8 years ago

For reference, the command is defined here: https://github.com/Zarthus/irc-pokemon-go-status/blob/master/lib/gobot/plugins/go_status.rb#L28

You can also use goalert as command to have the next downtime be announced (if you're not doing source code alterations). https://github.com/Zarthus/irc-pokemon-go-status/blob/master/lib/gobot/plugins/go_status.rb#L33

antdude commented 8 years ago

... [11:26am] ogostatus 11:26AM [ up ] available - response time: 205ms [11:26am] YAY! ...

Ah, can't have a space then. Thank you. :) I couldn't use ! because another bot was already using it. I also don't code, but I do test!

So, only "gostaaatus" and "goalert" commands? :(