Pacman бот дискорд команды

Обновлено: 02.07.2024

My current prefix in this server is ++ Type ++help <command name> to get information about a specific command.

clear , forward , join , leave , loop , lyrics , nowplaying , play , previous , queue , remove , resume , rewind , search , seek , shuffle , skip , skipto , stop , volume

247 , autoplay , prefix

about , help , invite , support , vote

ping , shards , uptime

You can always get more help on the command list of Earth by visiting their support server or their website:
Command Description
++p -
Command Description
/247 Toggles 24/7 mode in the server.
/autoplay Toggle autoplay in this server.
/clear Removes all tracks from the queue and stop the player.
/disconnect Leave the voice channel and reset the player.
/forward Fast forward the song to specified amount
/help To get information about all commands.
/invite Shows Earth's official invite links
/join Makes the bot to join your voice channel.
/loop disabled Disable looping mode
/loop queue Loop the whole queue
/loop track Loop the current track
/lyrics Displays lyrics for the current playing song
/nowplaying Shows details of current playing track.
/pause Pauses the current playing track.
/ping Shows bot's Latency.
/play Play a song for you in your voice channel
/previous Play the previous track
/remove Removes the specified song from the queue
/resume Resumes the current paused song.
/rewind Rewinds the song to specified amount
/seek Skips to the specified timestamp in the currently playing track
/skip Skip the current playing track.
/skipto Skip to the selected queue number
/stop Stop the current playing track.
/volume Change the bot output volume

More Information on Earth

Similar Bots

Mantaro is a simple but powerful Discord bot used to enhance your Discord experience. .

Octave is a feature-rich Discord bot delivering the sweet sound of music from a plethor.

Pac-Man Bot for Discord

Play the best chat games for Discord: Pac-Man, Uno, Hangman, Pets and more! Works in a server with friends or in direct messages with the bot.
The objective is to bring the most enterntainment to you and your group, with the least amount of hassle and spam possible.

Features the following games:

  • Uno: Play with up to 10 friends and bots in the classic Uno card game.
  • Hangman: Everyone has to guess the random word, or a word chosen by you!
  • Wakagotchi: Enjoy caring for a pet in a Discord-based tamagotchi clone.
  • ReactionRPG: Battle monsters and become stronger, or challenge your friends to battle - Enjoy this simple chat RPG!
  • Tic-Tac-Toe, Connect Four: Challenge your friends or the bot itself.
  • Code Break: Uncover the secret code in this public puzzle game.
  • Minesweeper: A basic rendition of minesweeper using the spoiler text feature.
  • Rubik's Cube: Attempt to solve a cube in chat form. Seriously.
  • Pac-Man: Turn-based controls in a simplistic yet faithful recreation of the arcade game. The original PacManBot game.

Compiling Pac-Man Bot

Should you want to maintain a custom fork of Pac-Man Bot, here are the main steps.

Where %RUNTIME% is the system you'll be building for, like linux-x64 or win-x64 . For a Raspberry Pi, use linux-arm .
The command will generate a bin/Release/net5.0/%RUNTIME%/publish/ folder containing the entire program.
The bot can be executed from Pacman.exe / ./Pacman or otherwise by running dotnet Pacman.dll . It requires that contents.json and config.json are in the same folder (you can find them in bin/, and the console output will inform you if this is not fulfilled.

Using different emotes

I recommend using my own copies of the emotes in the Pac-Man Bot server, which your bot can join if you ask.
If you instead want to use your own copy of the emotes, here are the steps:

These are Paimon commands!
Feel free to join the support server by clicking this link
Type >prefix to change the prefix for this server.

Interaction

>greet >stare >bite >nom >handholding >punch >highfive >pat >boop >lick >run >hug >slap >kiss >feed >cry

Adventure RPG

>daily >battle >starthero >menu >enemy >party

Adventure Profile

>profile >cooldowns >vote >leaderboards >set >set uid >set bio >primo

Wiki

>wiki >wiki character >birthdays

Hoyolab

>characters >mycharacters >mystats >myweapons >myabyss

Music

>play >stop >volume >queue >nowplaying >seek >skip >pause >connect >disconnect >resume

>patreon >support >socials >avatar >members >invite >stats >shards

⭐ Artifact Rater
>rate image/url [lvl=<level>] [<stat>=<weight>]

More information about the Artifact Rater command, go to the second page.

You can always get more help on the command list of Paimon by visiting their support server or their website:
Command Description
>hug -
>pat -
>slap -
>kiss -
>feed -
>greet -
>stare -
>bite -
>nom -
>handholding -
>punch -
>highfive -
>boop -
>lick -
>run -
>cry -
>expedition -
>leyline -
>mine -
>explore -
>starthero -
>menu -
>daily -
>battle -
>profile -
>inventory -
>cooldowns -
>vote -
>leaderboard -
>set -
>primo -
>character -
>weapon -
>artifact -
>cons -
>talent -
>characters -
>mycharacters -
>mystats -
>myweapons -
>myabyss -
>play -
>stop -
>volume -
>queue -
>nowplaying -
>seek -
>skip -
>pause -
>connect -
>disconnect -
>resume -
>patreon -
>support -
>socials -
>avatar -
>members -
>invite -
>stats -
Command Description
/abyss All Abyss Floor Informations.
/artifact Shows info about a specific artifact set.
/birthday Shows the birthday of all characters.
/character Shows info about a specific character.
/credits Special thanks to these people!
/domain Shows information about a certain domain
/edit character Add/Edit/Remove a new Character.
/edit profile Edit/Add your profile.
/emergencyfood Paimon is not emergency food!
/food Shows info about a specific food/dish.
/gadget Shows info about a specific gadget.
/help Get help for the bot.
/invites delete 🗑️ Delete the invite logs for this invite.
/invites get 🔗 Get the info for this invite
/invites reset 🗑️ Delete all invite logs from this server and stop tracking.
/invites server 🔗 Get all invites for this server
/invites sync 🔄 Sync all invites from this server to the invite logs.
/invites top 🔝 Get the top invitors for this server.
/invites user 🔗 Get the invites for this user.
/material ascension Char Ascension Materials
/material character-exp Character EXP Materials
/material common-ascension Common Ascension Materials
/material forging Forging Materials
/material other Other Materials
/material talent-level-up Talent Level Up Materials
/material weapon-ascension Weapon Ascension Materials
/material weapon-enhancement Weapon Enhancement Materials
/ping PING the bot
/profile Check your or someone else's profile.
/remind create ⏰ Create a new reminder.
/remind delete 🗑️ Delete a reminder.
/remind list 📑 List all your active reminders.
/remind mod-delete 🗑️ Delete the reminder/s of a user.
/reset Reset your whole profile to 0 (delete it).
/setup Setup your profile
/stats Show some bot stats.
/versions All patchnotes
/weapon Shows info about a specific weapon.

More Information on Paimon

Similar Bots

Mantaro is a simple but powerful Discord bot used to enhance your Discord experience. .

Octave is a feature-rich Discord bot delivering the sweet sound of music from a plethor.

В этой статье я подробно расскажу о том, как работать с библиотекой discord.js, создать своего Discord-бота, а также покажу несколько интересных и полезных команд.

Сразу хочу отметить, что я планирую сделать ряд подобных статей, начиная с простых команд, заканчивая музыкой, системой экономики и распознаванием голоса ботом.

Начало работы

Если вы уже знакомы с приведёнными ниже материалами, — смело можете пролистать этот раздел.

Для начала работы с кодом нам нужно установить среду разработки, это может быть:

Среда разработки выбирается по удобству использования и практичности, она у вас может быть любая, но мы рассмотрим её на примере Visual Studio Code, так как она является одной из самых приемлемых для новичков, а также для опытных программистов.

Для установки переходим по этой ссылке.



Выбираем свою операционную систему и запускаем скачивание.

Для создания бота мы используем среду выполнения node.js. Для её установки нам необходимо перейти на этот сайт.


На данный момент нас интересует версия долгосрочной поддержки (LTS), скачиваем её.

В Visual Studio Code присутствует возможность устанавливать расширения.
Для этого, кликните по отмеченной ниже иконке.


В открывшемся окне вписываем название название/идентификатор нужного нам расширения, после чего устанавливаем его.


Из полезных расширений могу отметить:

    Discord Presence — расширение, позволяющее отображать рабочую область и файл, в котором вы работаете в вашей игровой активности (функция работает только при использовании приложения Discord).

Создание бота

Теперь, когда вы установили все нужные компоненты, мы можем приступить к созданию самого бота.

Здесь всё просто. Переходим на портал разработчиков и нажимаем на кнопку с надписью «New Application» — она находится в правом верхнем углу.

В открывшемся окне вписываем имя бота, после чего, нажимаем на кнопку с надписью «Create».


На этой странице мы можем изменить имя бота, загрузить для него иконку, заполнить описание.

Теперь наша задача — воплотить бота в жизнь. Для этого переходим во вкладку «Bot».


Нажимаем на кнопку с надписью «Add Bot» и воплощаем бота в жизнь.

Поздравляю! Вы создали аккаунт для вашего бота. Теперь у него есть тег, токен, ник и иконка.

Подготовка к написанию кода

После создания аккаунта для бота, мы должны установить нужные пакеты и модули, чтобы в дальнейшем он корректно работал.

Первым делом создаём папку, после чего открываем её в VS Code (Файл > Открыть папку) / (Ctrl + K Ctrl + O)

Далее нам нужно открыть терминал (Терминал > Создать терминал) / (Ctrl + Shift + `)


Теперь мы должны создать файл с неким «описанием» нашего бота, сделаем это через терминал.

Вписываем данную строку в терминал и нажимаем Enter:


После каждой появившейся строки нажимаем Enter или вписываем свои значения.
Значения в этом файле можно будет изменить в любой момент.

Далее, мы должны поочерёдно вводить в терминал эти строки:

«Install» также можно сокращать в «I», но необязательно.

Итого, если вы следовали инструкциям и всё сделали правильно, в вашей папке должны были появиться 3 объекта:


Написание кода

Для того, чтобы наш бот появился в сети и мог реагировать на команды, нам нужно написать для него код.

Существует множество вариантов для его написания: используя один файл, два, несколько, и т.д

Мы рассмотрим вариант с двумя файлами, так как его использовать очень легко и удобно, но у каждого варианта есть свои недостатки — например, у этого недостатком является сложность в написании начального кода.

Но не волнуйтесь, весь код вам писать не придётся.

Для начала, нам нужно где-то хранить основные параметры и информацию о боте.

Мы можем сделать это двумя способами:

  1. Создать отдельный файл
  2. Записать всё в константы

Разберём хранение параметров в отдельном файле.

Итак, создаем файл config.json

Вставляем в него следующий код:


* Для получения токена зайдите на портал разработчиков, перейдите во вкладку «Bot» и скопируйте его.


* Самым распространённым среди разработчиков префиксом является !

Далее нам нужно создать файл bot.js и вставить в него данный код:


Теперь создаём файл comms.js, в нём будут сами команды.

В нём должен быть следующий код:


Чтобы добавить больше команд — просто объявляйте больше функций и добавляйте их в список, например:


И вот, мы вышли на финишную прямую!

Осталось всего ничего — запустить бота.

Для этого открываем терминал и вставляем в него следующую строку:



Готово! Бот запущен и вы можете им пользоваться, ура!

Чтобы пригласить бота на свой сервер, воспользуемся нам уже известным порталом разработчиков.

Перейдём во вкладку OAuth2, пролистаем чуть ниже, выберем «Bot» и отметим нужные боту привилегии.


Как вывести ссылку-приглашение в терминал, при запуске бота?

Существует два способа:

    Заранее отметить нужные привилегии.


Итоговый код должен быть таким:


Чтобы указать несколько привилегий, мы должны перечислить их в квадратных скобках, через запятую:


* Все привилегии указываются заглавными буквами

Список доступных привилегий:

ADMINISTRATOR
CREATE_INSTANT_INVITE
KICK_MEMBERS
BAN_MEMBERS
MANAGE_CHANNELS
MANAGE_GUILD
ADD_REACTIONS
VIEW_AUDIT_LOG
PRIORITY_SPEAKER
STREAM
VIEW_CHANNEL
SEND_MESSAGES
SEND_TTS_MESSAGES
MANAGE_MESSAGES
EMBED_LINKS
ATTACH_FILES
READ_MESSAGE_HISTORY
MENTION_EVERYONE
USE_EXTERNAL_EMOJIS
VIEW_GUILD_INSIGHTS
CONNECT
SPEAK
MUTE_MEMBERS
DEAFEN_MEMBERS
MOVE_MEMBERS
USE_VAD
CHANGE_NICKNAME
MANAGE_NICKNAMES
MANAGE_ROLES
MANAGE_WEBHOOKS
MANAGE_EMOJIS

Полезные и интересные команды

В предыдущем разделе я показал вам, как запустить бота и как писать для него команды.
Теперь я хочу поделиться с вами несколькими своими командами.

Читайте также: