Добавить бота в дискорд xenon
Xenon Bot is a Discord bot used for creating backups or creating new servers from a template or transferring messages (transferring messages is a premium feature). Xenon bot creates backups of your Discord servers, roles, channels and server settings. You can use the premium version of the Xenon Bot to backup even more things such as messages and member data such as nicknames and assigned roles. You can easily clone servers or simply restore a server to a previous backup using the Xenon bot. There is also a template section for this bot that you can load on to existing servers or create new ones from. You can also set the Xenon bot such that it can create backups of your server at regular intervals. Every old backup is replaced by a new one every time this happens. If you want to keep old backups as well then you will have to use Xenon premium.
TABLE OF CONTENTS
How to add Xenon Bot to your Discord server?
Adding the Xenon bot to any Discord server is very easy and simple. Just follow the steps below-:
STEP 2 : After going to the official website, click on the button that says “ Invite ”.
STEP 3: After clicking on the button, you will be redirected to Discord, where you will be asked to login to your Discord. After logging in or if you are already logged in then you will be asked to select the server to which you want to add the Xenon bot to.
STEP 4: After selecting the server, click on CONTINUE. After this you will be asked for authorization for the permissions that the Xenon bot needs on your server. The Xenon bot is a very simple bot and only needs the Administrator permission to work. Review these permissions and then click on AUTHORIZE.
The Xenon bot will now be successfully added to your server. You can now start creating backups, load server templates, etc.
Xenon Bot Commands
The Xenon bot is no longer using its default prefix which was ‘x!’. Instead, now Xenon bot works entirely by using slash commands. But the slash commands are not yet supported on Xenon premium which is why for premium commands, you still have to use ‘x?’ as the prefix.
Important Commands
General Commands
How to use Xenon Bot?
Once you have successfully added the Xenon bot to your server, you can start using the latest feature of Xenon bot, which is the Slash Commands. By typing ‘/’ in any channel of your server and then selecting the Xenon tab, you can see the different commands and features that are available with the Xenon bot along with a short description for each.
If you don’t see these commands then, go to user settings, navigate to Text & Images tab and near the bottom you will find the following setting – Use slash commands and preview emojis, mentions, and markdown syntax as you type and make sure that this setting is turned on.
Also make sure that the Xenon role that is added with the bot should be at the top of the list. To do this, head to server settings, go to Roles, select Xenon bot and simply drag it to the top of the list or as high as you can drag it.
How to create a backup for your server?
To create a backup for your server, go to any channel on your server and type the following command – /backup create . This will create a backup of your server and return the unique id of the backup. This id can be used to check info and point to the backup that was just created.
To check info of the backup created, simply copy the unique id that was returned and then type – /backup info backup_id: . Paste the unique id in this command and press enter. This will return all the details of your server for which the backup was created including a list of channels and a list of all the roles.
How to load a backup on a new server from another server?
In order to load a backup from another server onto a new server, we have to follow a very simple set of commands. First create a backup of the server you want to copy. Then copy the unique id that gets returned after creating a backup. Go to any channel on the new server and type the command – /backup load backup_id: . Paste the unique id in this command and press enter. Accept any risks and changes that you get prompted with. After this, the Xenon bot will start loading the backup onto the new server. It will take about 2-3 minutes after which the process will be complete and your new server will look exactly like the old server.
This article has been contributed by Nilay Saxena . You can view his profile at linkedIn .
Главные функции и возможности
Как скачать и добавить бота
Установить виртуального робота в дискорд не составит труда. Достаточно следовать инструкции. Добавьте своего бота по следующим действиям:
- Найдите подходящий ресурс с ботами и выберите понравившегося. Подобных порталов предостаточно.
- Если намерены скачать ксенон, то выберите его по названию в поисковике. Если решили воспользоваться другими вариантами, выберите навигационное меню, с его помощью можно отсортировать ботов по своим категориям.
- После того, как выбрали лучший бот, переходите по категории «Invite», то есть пригласить.
- Или переходите на страницу выбранного бота, для ознакомления с функционалом, нажмите на клавишу «Invite».
- Появится вкладка конфигурация, позволяющая добавить бота на сервер дискорда. Там выберите сервер, предоставьте права виртуальному роботу, которыми ему придется обладать, запустив виртуального робота.
- После начальной настройки, нажмите на клавишу «авторизовать».
- Конечный этап действий проводит проверку бота.
На этом процесс по добавлению бота закончилось.
Настройка бота и отключение
Настроить xenon бот дискорд следует согласно инструкции, которая есть у каждого бота. Если пользователь плохо владеет иностранными языками, то следует начинать изучать их, поскольку боты на русском языке встречаются очень редко. Ксенон не является исключением.
Создать собственного виртуального бота специально для дискорда можно следующим образом:
- Разработать согласно языку программирования. Если, кто понятия не имеет, как это осуществить то придется искать другой выход.
- Используя специальные программы, с помощью которых можно даже без особых знаний запустить собственного виртуального робота. Такой программой является – Discord Bot Maker.
Настройка бота также проводится с помощью обычных инструментов дискорда, где достаточно войти в категорию «меню», найти там появившегося бота, кликнуть по нему и он открывает доступ к настройкам. Останется только выбрать точную настройку.
Если потребность в боте отпала, его пользователи могут удалить из сервера. Откройте список участников канала, кликните там по установленному боту и выберите категорию «Выгнать». Также можете с легкостью вернуть и установить заново.
Команды управления ботом
В каждом боте заложен целый список команд, управлять которыми может администратор сервера, куда и устанавливался бот. Основные команды всегда отображаются в настройках, но их можно дополнить дополнительными командами, скачав плагин и модуль. Кроме стандартных команд пользователям открывается доступ к другим командным ресурсам. Открыть их можно используя стандартные клавиши. Пользователи дополнительных ресурсов могут воспользоваться роботом для установки полного контроля над всеми действиями других участников.
Xenon bot is a helpful bot for creating and archive backups of their discord content. This includes backups of your channels, messages, roles, and permissions. Other than that, a range of original and creative templates are added regularly.
With more than 987K+ servers currently using xenon bot for its various convenient features such as access to templates, making backups, slash commands, transfer of messages across channels, etc., xenon bot is growing and flourishing. Below is an excellent guide to understanding the xenon bot, its features, commands, and how to add it to your server.
Xenon bot commands
Other than the standard x! A new update for command prefix has been introduced for commands, i.e., along with x! one can now use a / for commands. Don’t forget to enable the following setting ‘use slash commands and preview emoji, mentions, and markdown syntax as you type’ to make use of the slash command.
Note: xenon bot premium does not have this functionality yet, though.
Xenon Discord Bot Features
Discord Backup Bot
A backup is duplicating your content to have a safe copy for future use. As already discussed above, the xenon bot allows you to create a backup of your chats, roles, server settings, messages, channels, permissions, etc.
Once these backups are archived, you may share them with other fellow users of the same server. A distinctive ID is created for each backup made to keep track. You may use the command – ‘x! Backup create’ to back up your stuff.
Around 2.24M+ backups have been made and saved so far!
Manual backup and backup interval
Other than the option of manual backups of your server and load at your feasibility and convenience, one can also set a backup interval for automatic backups after a specific time. This functionality is only available if you have the premium version.
Templates
While a backup is personal, a template can be accessed by everyone. In retrospect, they are public versions of backups. Similar to a backup, templates allow you to have a unique name, but these names are innovated by the creator contrary to backups. On the other hand, backup names are generated by the bots.
Xenon Bot lets you access thousands of different and unique templates. People can also share the template designs with other people, in addition to being able to use other people’s templates. Thus, everyone utilizing the xenon bot can design and create templates that can be shared with the public.
Unsure of how to come up with a new template to create a server? Just use previously shared templates by different users to create a new server of your own! The command ‘x! template load starter’ can be used to load starting templates.
Users can access around 2.6k+ public templates!
How to create a template:
Note: all the templates are public, so be sure to avoid entering personal info.
- Now go and check your xenon template site. The template should be there.
Messages
The option to transfer messages is only available on the premium version of the app. This feature includes the ability to transfer messages, synchronize messages, backup messages, and chat logs.
These transferred messages are identical to the original messages regarding wording, username picture, and badge. The only specific point is that the messages have a small badge indicating their transferred nature.
Synchronization
Message synchronization is a very feature of the xenon bot. One can synchronize messages across not just one but multiple channels so that all new and old messages can be transferred between them.
How to add Xenon discord bot to your server
How can xenon Bot be added to the server?
How can I create a backup of my server?
Using the command ‘x! backup create’, one can create a server backup. Once the backup has been completed, it can be loaded. Creating and loading a backup requires server permissions.
Can backups be transferred to other users?
Backups are personal and specific to the users, so they cannot be transferred to other users.
If I did not delete my backup, why can’t I access it?
Backups can only be accessed by the creators themselves. If the backup was created before 11/04/19, it could not be accessed as backups before deleted due to an update.
Where can my backups be found?
Using the following command: x! backup list, one can access their backups.
How can I create a template and load it?
How do I figure out which template is suitable for me?
Recent Articles
Conclusion
Xenon Bot is a handy bot to have. From backing chats, transferring and synchronizing chats to providing the option of creating new templates to design our server or use pre-made ones, xenon bot does it all.
This Bot is relatively easy to download and add to your server. It is also quite simple to use. This article is a great review and guide to the popular xenon Bot. Hopefully, after reaching the end, you know more about the bot and how to use it.
В этом ознакомительном HOWTO я расскажу, как можно немного занять себя на время карантина и сделать бота для своего Discord-сервера. Мы развернем NodeJS в Docker под Ubuntu 18.04 и запустим в нем бота с парочкой простых команд. В конце я оставлю ссылки на полезные источники информации, чтобы вы могли дальше развивать бота, наделяя его полезными функциями.
Программное обеспечение сервера, используемое в этом уроке:
- Ubuntu 18.04
- Docker 19.03.6
- npm 6.14.5
В этой статье подразумевается, что вы обладаете навыками работы в командной строке Linux.
Первые шаги
В появившемся окне нужно придумать имя своему приложению (будущему боту):
После указания имени и создания приложения мы можем перейти к созданию бота. Для этого в левом меню выберите пункт “Bot” и нажмите на кнопку “Add Bot”.
Последним шагом здесь будет копирование token по кнопке “Copy”. Держите в секрете ваш token и сохраните его куда-нибудь — он понадобится позже.
Подготовка сервера
В качестве площадки для размещения бота я использую VDS под управлением операционной системы Ubuntu 18.04. Вы можете разместить бота и на других дистрибутивах, убедившись в том, что в них установлены нужные пакеты.
Команды для установки в Ubuntu 18.04:
Если вы используете другой дистрибутив, то установка необходимых пакетов может отличаться. Вы можете найти инструкцию для конкретного дистрибутива в документации или в поисковике.
Создание основных файлов
Как я указал в начале статьи, мы будем использовать NodeJS для запуска бота. Дополнительно нам потребуются две библиотеки:
- discord.js (основная библиотека для работы бота);
- dotenv (будет использоваться для конфигурационного файла).
Создадим рабочую директорию проекта и файл package.json. В моем случае рабочая директория располагается в директории /home, но вы можете выбрать любую другую на свое усмотрение.
Примерный вид файла:
В нем мы указали имя будущего пакета (name), версию (version), описание (description), автора (author), основной файл (app.js) и список зависимостей (dependencies).
Запустим npm install и убедимся, что создался файл package-lock.json, который потом также будет скопирован в контейнер.
Теперь создадим файл самого бота app.js и запишем в него следующий код:
Учитывая, что здесь используется конфигурационный файл, создадим в рабочей директории .env и запишем в него:
Вместо “tokenbot” подставляется token бота, который был сохранен в начале статьи, а в качестве prefix указывается символ, после которого будут вводиться команды. Я выбрал в качестве префикса “!”, но вы можете выбрать другой удобный символ, если только он не используется самим Discord, как например “@” или “/”.
Создание Docker-контейнера
Теперь в рабочей директории нам нужно создать Dockerfile, который будет содержать инструкции для сборки образа, на основе которого будет запущен контейнер. В него мы запишем:
Создадим файл .dockerignore и запишем туда несколько локальных файлов, которые будут игнорироваться:
Соберем образ и запустим на его основе контейнер:
Вместо “authorname” можно ввести имя пользователя, от которого создается бот, и через “/” указать имя бота.
Проверим, что контейнер запустился, специальной командой:
Добавление бота на сервер
Бот запущен и работает в контейнере. Осталось только пригласить его на сервер и проверить его работу.
Для приглашения необходимо:
Теперь мы можем проверить работу двух команд, созданных ранее:
Заключение
В этой ознакомительной статье мы зарегистрировали новое приложение, создали бота, написали несколько простых команд, запустили контейнер и пригласили бота на сервер.
Далее бота можно развивать, наполняя его другими более сложными и полезными функциями. Для этого вам пригодятся знания JavaScript и следующие ссылки:
Надеюсь, этот материал будет полезен для всех, кто давно хочет создать собственного бота в Discord, но не знает, с чего начать.
Backup, Archive, Copy, Clone or Synchronize your discord with just one command and take advantage of hundreds of free templates.
Xenon Commands Prefix: x!
The bot Xenon is based around the idea of creating & loading backups of your discord. Create backups of your channels, roles, permissions and messages (only with the Pro version Create Backups
Backups are used to save the current state of your server including roles, channels, bans and even more with Premium. Backups are bind to your account and can be loaded on any server where you have administrator permissions.
Create a backup with x!backup create .
Backup Interval
In addition to manual backups, you can enable the backup interval. It will automatically create backup in the set interval. Ony the last interval backup of each server is kept unless you have Premium.
Enable the backup interval with x!backup interval 24h .
Load a Template
Templates are the public counterpart to backups. A template can be loaded by everyone and doesn’t contain any private information. Users can use templates to share their server setups with others.
Use x!template load starter to load the starter template.
Transfer Messages
With Premium you can transfer messages using full server backups, per channel chatlogs or message synchronization. The transferred messages appear with the same content, username and avatar as the original ones. Only a small “bot” badge identifies them as transferred ones.
Manual Backups
Create a backup of you server and load whenever you want
Backup Interval
Enable the backup interval to create automatic backups in a set interval
Templates
Take advantage of many public templates to create your new discord server in seconds
Synchronization
Connect multiple channels and transfer all new messages between them
Leave a Reply Cancel reply
How do add I Xenon to my server?
How can I create and load a backup?
You can create a backup of your discord server using the x!backup create command. You will get the command to load the backup after it was created. Keep in mind that you need administrator permissions to create or load a backup.
Can I load backups from a differrent Discord account?
No. Backups are linked to the discord account of the creator and can't be used by anyone else. There is no way to transfer a backup from one user to another.
My backup is missing but I didn't delete it?!
Backups that were created before 11/04/19 can no longer be accessed. There was a long migration period. Please also keep in mind that a backup can only be loaded with the discord account that create it.
Читайте также: