greatman / legendarybot

Discord bot mainly aimed for WoW guilds.
MIT License
8 stars 3 forks source link

Command is not working for me #1

Closed babycrock closed 7 years ago

babycrock commented 7 years ago

Hi, so I have this bot in my own discord to see if it would work first and when I tried all 3 commands it wouldn't work.. I typed in !setserversetting WOW_REGION_NAME US then i typed in... !setserversetting WOW_SERVER_NAME Nagrand/Caelestrasz I did just put one in and it still didn't work. I also repleased everything with - didn't work. Then the next one I typed in !setserversetting GUILD_NAME TheFallenAngels and still didn't work. When I do !server said I had none, if I did anything with the guild said that guild was not found. Also, when I typed in for overwatch it said my battle.net wsan't found.

greatman commented 7 years ago

So basicly you did the following: !setserversetting WOW_REGION_NAME US !setserversetting WOW_SERVER_NAME Nagrand !setserversetting GUILD_NAME TheFallenAngels

Is this your guild? https://www.wowprogress.com/guild/us/nagrand/The+Fallen+Angels .

If so, there's spaces, so you need to put spaces in the GUILD_NAME one, like so: !setserversetting GUILD_NAME The Fallen Angels

For the Overwatch part, you need to type the battle.net like the following: greatman-1189, Example !owrank Greatman-1189

Basicly the format shown in the URL of the overwatch website. Example with mine: https://playoverwatch.com/en-us/career/pc/us/Greatman-1189

babycrock commented 7 years ago

Yes that is my guild.. I typed everything in that you send and it still doesn't work. Saying there is no server, and there is no log for my guild.

greatman commented 7 years ago

Hmm, being a oceanic server might be why. Ill debug to see what is going on.

greatman commented 7 years ago

greatman - Today at 9:21 PM !setserversetting WOW_REGION_NAME US

LegendaryBotBOT - Today at 9:21 PM Setting WOW_REGION_NAME set!

greatman - Today at 9:21 PM !setserversetting WOW_SERVER_NAME Nagrand

LegendaryBotBOT - Today at 9:21 PM Setting WOW_SERVER_NAME set!

greatman - Today at 9:21 PM !server

LegendaryBotBOT - Today at 9:21 PM Server: Nagrand | Status: Online | Population: low | Currently a queue? : No

greatman - Today at 9:22 PM !setserversetting GUILD_NAME The Fallen Angels

LegendaryBotBOT - Today at 9:22 PM Setting GUILD_NAME set!

greatman - Today at 9:24 PM !ilvl Varb

LegendaryBotBOT - Today at 9:24 PM Varb (WARRIOR 110) ilvl is 904/911

Looks like it's working for me on my test server. There's one thing I noticed is the factor of connected realms. Nagrand realm is connected with Caelestrasz, which can make some of my commands bug. (Try doing !ilvl Orton by example, he's on Caelestrasz and it won't work). I will try to find a way to support it.

greatman commented 7 years ago

I just updated the bot so it supports what I just said. It now supports connected realms.