Как настроить бота сервер статус
Перейти к содержимому

Как настроить бота сервер статус

  • автор:

Как получать информацию о состоянии сервера с помощью Telegram-бота ServerStatsBot

Telegram — один из самых популярных сегодня мессенджеров. Одной из самых интересных его особенностей является возможность создания специализированных сервисов на базе ботов.

В этой статье мы расскажем, как установить и настроить бота ServerStatsBot, с помощью которого вы сможете в любой момент получить актуальную информацию о работе серверов в Vscale: увидеть статистику потребления памяти, дискового пространства, получить информацию о загрузке процессора и т.п.

ServerStats

Shows off your member, channel, role, emoji, boost, and goal count in your server through the use of channels (also fully customizable).

ServerStats

This bot can show you all members, members, bots, channels, roles, emojis, boosts and connected. It can also show a goal and welcome channel with joined and left messages. This all will (by default) be shown under a category with channels and the channel names will be changed. You can also customize the text that is displayed in front end behind the number. The setup is really easy just type s/setup

IMPORTANT You need to run the setup command first, without it the bot won’t do much. Use s/setup or @ServerStats setup to run the setup. Also if you want to get the other counters to show up you need to turn them on (this can be done with a command).

Setup information

This bot needs to have Manage Roles, Manage Channels, Read Text Channels & See Voice Channels, Connect to change the channel names so if the bot doesn’t have it THE BOT WON’T WORK. If the bot has the right permissions but still doesn’t work you can join the support server and get help there.

Bot commands

Normal

s/help <command> [Send all the commands if you don’t put a command after it else it will if info about the command.]

s/ping [Sends a pong message with latency.]

s/invite [Sends an invite link for the bot.]

s/vote [Sends instructions on how to vote for the bot.]

s/donate [Sends instructions on how to donate.]

s/support [Sends info about how to get help.]

s/partners [Sends info about our partners.]

s/bot [Sends info about the bot.]

s/serverinfo [Sends info about the server.]

s/userinfo <ID/mention> [Sends info about an user.]

s/roleinfo <ID/mention> [Sends info about a role.]

s/channelinfo <ID/mention> [Sends info about a channels.]

s/inviteinfo <URL/code> [Sends info about an invite.]

s/avatar <ID/mention> [Sends the avatar form an user.]

Admin

s/setup [This command will set up the bot and create the 3 default counters.]

s/counter <create> [With this command you can turn on/off counter.]

s/reset [With this command you can reset the counters.]

s/data [This will send all the data saved about your server.]

s/category [This will create a new category and puts the counter under it. (you don’t need a category)]

s/welcome <create> [This will create a join and leave log channel.]

Name already in use

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

readme.md

Monitors a list of servers and sends a chat notification when a server goes on or offline.

Buy Me A Coffee

  • send channel notifications
  • track server up/down time
  • TCP — should work with all servers
  • UDP — Source RCON Protocol is supported

Want to see more features?

  • Download the latest release here
  • Add your bot token as well as other configurations to config.json
  • Execute the OS specific binary!
  • list of user/role ID’s must be in the following format (see below for obtaining ID’s)
  • <@userid>
  • <@&roleid>

The polling interval is how often the bot will try to ping the servers. A good interval is 10 seconds, but this may need some adjustment if it happens to be spamming notifications.

  • time in seconds
  • configurable in config.json

To get the current status of your servers simply type !ServerStatus in chat.

Server Status

Compiling from source

  • Make sure Go and Make are installed
  • make all

How to get the bot token

How to get your room ID

To get IDs, turn on Developer Mode in the Discord client (User Settings -> Appearance) and then right-click your name/icon anywhere in the client and select Copy ID.

How to Use Server Stats bot discord [Server Stats bot commands]

Server Stats bot is a discord bot that is used to monitor the statistics of your Discord server. It can be used to monitor all the aspects of your server like the amount of people in your server at all times, the number of active members, the number of channels or voice channels your server has, the number of bots present, or the number of people who actively donate and much more. It is very easy and simple to set up and fully customizable to the liking of the user. The counters created by the Server Stats bot can be edited or renamed and the bot will easily pick it up.

The bot comes with 18 different types of counters to track server activity and has 28 different commands to customize them in many ways. The Server Stats bot boasts a server count of 1 million+ servers which further goes to show how good and popular it is.

The Server Stats bot works on a plan basis. The ‘COMPLETELY FOR FREE’ plan, as the name suggests, provides selective features of the bot for free of cost with a ‘forever’ validity. The second plan is called ‘TIER 1 PATREON’ and is priced at $2.50 for a month validity and some extra features. The third plan is called ‘TIER 2 PATREON’ and priced at $5.00 for a month and provides additional features on top of the Tier 1 Plan, except the role counters. The details of the plans and the features they provide are summarized below-:

  • Comes with 15 different counters
  • A welcome channel is present
  • Counters are fully customizable
  • Counters for goals and messages
  • Assigned role of ‘Donator Tier 1’ on the support server
  • Counters for online and offline status
  • Counters for Minecraft, Streaming and Status
  • 3 more role counters
  • Everything from Tier 1 except the role counters
  • Assigned role of ‘Donator Tier 2’ on the support server
  • 4 extra role counters
  • 3 playing counters

TABLE OF CONTENTS

HOW TO ADD THE SERVER STATS BOT TO YOUR DISCORD SERVER?

Adding a Server Stats bot is a simple task and can be done with the help of just a few clicks. The steps to add the bot are mentioned below-:

STEP 1: The first step is to go to the official website of the Server Stats Bot. You can either search for “Server Stats Bot” on Google or you can go directly to their official website which is – https://serverstatsbot.com/ .

HOW TO ADD THE SERVER STATS BOT

STEP 2: On the above page, click on the blue button which says “Invite the Bot”. This will redirect you to discord and ask you for Login.

STEP 3: After logging in to discord or if you are already logged in, you will be asked for some standard permissions including authorization for access to your discord account. Press ‘yes’ to continue the process.

HOW TO ADD THE SERVER STATS BOT

STEP 4: After this you will be redirected to Server Stats’ website and the following message will confirm that the Server Stats Bot has been added successfully.

LIST OF BASIC SERVER STATS COMMANDS IN DISCORD

The Server Stats bot has a total of 28 commands to offer (this number depends on the plan you choose). The commands of Server Stats are executed by attaching the prefix ‘s/’ before the command. You can also see a list of all the commands by typing “s/help” in the chat. If you specify a command after ‘help’ then you can get more information on that command – “s/help <command>”.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *