A Discord Bot is like a normal user on a server, it can read the messages on the channels that it has access, and respond on the channels where they can write. Thus, if you address the bot by mention (Direct Messages also works!) or by using a prefix (!w for this bot) it will talk back to you.
The WoT Clans Bot, in particular, can talk about the World of Tanks for Console game, mostly using data from the WoT Clans Site, as it has direct access to the database that powers the site.
If the Server Admins had configured the bot on the server, and you can issue commands to it on some channels (DMs also works), you starts by typing the prefix, !w, a space and then issue a command and it's parameters.
The bot can explain itself with the command !w help, that lists all commands, and detail a command parameter with, for example, !w help moe, that will detail the parameters.
If the parameter that you want the bot to understand contains spaces, then you must enclose the parameter in quotes. For example, to query the leaderboard of the E 50 for the tanker Some Weird GT you type !w leader "E 50" "Some Weird GT".
Commands are grouped in features, as the list bellow implies.
Remember that the bot is always improving, and this page may not be up-to-date. The !w help command is the ultimate source of what and how the bot operates.
The bot, when installed by the server administrator, is either configured to XBOX ou PS4 platforms. This configuration is the default when retrieving information from the database. But you can override this default by prefixing p. or x. before the name of tanks, clans or gamer tags. For example !w damage x.t57 to retrieve information from the XBOX and !w damage p.t57 to retrieve information about the T57 Heavy as played by the PlayStation people.
The bot is added to a server the way any Discord bot is: you follow this link, choose the server on witch it will be run, and it's done... almost. Keep reading.
A bot is like a user. It may be put on other roles (besides his own role), and restrictions on that roles will be applied to the bot, as well. Just vanilla stuff. Just don't forget that the bot needs the Discord permission Embed Links, otherwise you may not see the replies that contains links.
By default the bot will answer to anyone who calls it on a channel that it listens. But the defaults can be changed by setting permissions on Features of the bot (groups of commands) to specific channels and roles.
To understand how permissions are evaluated when a user issues a command it's important do understand the sequence of the checks:
Remember that the when a bot is just added to a server the default Global Permission is set to true, to allow, the execution of commands, and there are no explicit permissions configured.
The permissions, and other settings, are configured using administrative commands.
These commands can only be issued to the bot from users with the Administrator permission. They are also case sensitive, so a role Moderator and a rolemoderator are not the same.