Skip to content

rusin-patryk/discord-mowe-bot

Repository files navigation

# Discord MOWE Bot

About project

Bot to use on Discord's servers. Main bot features are fetching users, clans, statistics, clan periodic summary etc. from Wargaming API.

I'm still developing a bot so you can expect new features soon.

How to run

  1. Install node.js, version 16.0.0 or higher.
  2. Use npm install command.
  3. Register Discord Application here.
  4. Add bot's permissions, generate OAuth URL and use this URL to add bot to the server.
  5. Generate and copy bot token.
  6. Register Wargaming Application (mobile) here and copy APP ID.
  7. Create .env file with environment variables in the following format:
DISCORD_TOKEN=INSERT_DISCORD_APP_TOKEN_HERE
WARGAMING_ID=INSERT_WARGAMIN_APP_ID_HERE
WARGAMING_SERVER=INSER_WARGAMING_SERVER
BOT_NAME=INSERT_BOT_NAME_HERE

Wargaming servers: eu, ru, asia, na (type com instead).

  1. Use node index.js to run script and authenticate bot program.

image

How to use

  1. Type {BOT_NAME} tell a joke for print random joke.

image

  1. Type {BOT_NAME} find: {wows_player_nickname} for print found users, account ID and URL to wows-numbers stats.

image image

  1. Type {BOT_NAME} find clan: {clan_name_or_tag} for print found clans and URL to wows-numbers page of the clan.

image

  1. Type {BOT_NAME} stats: {wows_player_nickname} for print user stats. The nickname must be valid to find the appropriate user (I'm working on it to add PR, colors etc.).

image

  1. Type {BOT_NAME} colors for print color ranges according to statistics.

image

  1. Type {BOT_NAME} help for print list of available commands.

image

Sources of data

About

Bot to use on Discord's servers. Main bot features are fetching users, clans, statistics, clan periodic summary etc. from Wargaming API.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published