fjaros / wowchat

WoWChat is a clientless Discord integration chat bot for old versions of World of Warcraft.
GNU General Public License v3.0
139 stars 96 forks source link

.server info .pinfo doesnt work #116

Closed Annyelicious closed 9 months ago

Annyelicious commented 9 months ago

Hi again, first of all, thank you for the tremendous work you have done with this bot.

I was wondering, how should I configure the dot commands? I can't receive anything in discord when I type .server info or any other command that starts with .

enable_dot_commands=1

  # List of server (dot) commands that are explicitly enabled
  # Leaving this as empty means ALL commands are enabled/disabled based on "enable_dot_commands" setting.
  # The commands here should reflect exactly how the command is input in game. Do not prepend the dot character.
  # We can also accept wildcards like "lookup *" or "pinfo *"
  dot_commands_whitelist=[

  ]

  # List of Discord channels where commands are enabled. If this is unspecified or empty,
  # ALL channels will have command permissions.
  enable_commands_channels=[

  ]

  # If a tag matching fails from Discord when someone @ a non-existent or unmatched person or role,
  # the bot will whisper back notifying so.
  enable_tag_failed_notifications=0
}

Thanks in advance

fjaros commented 9 months ago

Do you have the configuration to relay System messages to discord?

Annyelicious commented 9 months ago

Do you have the configuration to relay System messages to discord?

this one?

    {
      direction=wow_to_discord
      wow {
        type=System
      }
      discord {
        channel=world-chat
        format="[SYSTEM]: %message"
      }
    }
fjaros commented 9 months ago

Hm then it should work. Which server is this on?

Annyelicious commented 9 months ago

Hm then it should work. Is this on turtle wow?

Stormforge.

Maybe system messages direction should be "both" instead of wow_to_discord ?

fjaros commented 9 months ago

Works for me on Mistblade realm. System can be wow_to_discord, but then you need at least one (say or guild for example) discord_to_wow or both so that the dot command actually gets sent to the server on that channel

Annyelicious commented 9 months ago

It works, thanks a lot!

using .s i can speak like /say isnt?

fjaros commented 9 months ago

Uh yeah unfortunately there is no channel for only dot commands which is a design flaw. If the server does not recognize the dot command and you are using the say channel, it will show in the game say text.