| YnM | ||
| YnMAdmin | ||
| YnMCmd | ||
| YnMConfig | ||
| YnMDb | ||
| YnMDebug | ||
| YnMIrC | ||
| YnMLang | ||
| YnMModule | ||
| YnMModuls | ||
| YnMPlugins | ||
| .gitignore | ||
| .version | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
YnM Go Bot
Magyar
✔️ A projektemet innentől kezdve csak saját magam folytatom,
✔️ és segítséget kizárólag ezen a fórumon nyújtok:
https://forum.ynm.hu/c/ynm-go/13
✔️ A projektet pedig ezen az oldalon frissítem és fejlesztem:
https://git.ynm.hu/Markus/YnM-Go
Román
✔️ Proiectul meu va fi continuat doar de mine de acum înainte,
✔️ și voi oferi ajutor exclusiv pe acest forum:
https://forum.ynm.hu/c/ynm-go/13
✔️ Proiectul este actualizat și dezvoltat pe această pagină:
https://git.ynm.hu/Markus/YnM-Go
English
✔️ From now on, I will continue my project only by myself,
✔️ and I will provide help exclusively on this forum:
https://forum.ynm.hu/c/ynm-go/13
✔️ The project is updated and developed on this page:
https://git.ynm.hu/Markus/YnM-Go
Egy erőteljes, moduláris IRC-bot Go nyelven, Sopel-szerű pluginrendszerrel. Kifejezetten önálló szerverre és saját rendszerekre lett tervezve, alacsony erőforrásigénnyel és maximális testreszabhatósággal.
Főbb jellemzők
✅ Modularitás pluginokkal
✅ Könnyen bővíthető új parancsokkal
✅ Gyors, stabil Go-alapú IRC kapcsolat
✅ Naplózás, adatbázis, JSON és statikus fájltámogatás
✅ Beépített médiaajánló és fájlfigyelő rendszer Jellyfin integrációval
IRC bot – Aktív pluginek listája
- 🛡️ Admin parancsok – jogosultságkezelés, automatikus VOICE/OP
- 📺 Médiaajánló – legfrissebb film/sorozat ajánlása
- ⏫ Médiafeltöltés figyelő – Jellyfin webhook alapján
- ✏️ Média kérés – felhasználói igények kezelése, „kell” és „keresek”
- ✅ Feltöltés visszaigazolás – kérések teljesítése
- 🗑️ Média kérés törlése – admin parancs
- 🔎 Média információ – keresés és részletes adatok
- 🤖 Tamagotchi játék – saját IRC kisállat gondozása (!tama)
- ❌⭕ X és 0 játék – fejlett interaktív játék IRC-n
- 🤣 Napi vicc – véletlenszerű vagy napi poénok
- 👀 Seen plugin – felhasználók utolsó üzenetének nyilvántartása
- 📰 RSS olvasó – HunTorrent vagy más feedek automatikus figyelése
- 🔍 IMDB kereső – film/sorozat információk címből (!imdb)
- 🎬 TMDb kereső – részletes film/sorozat/színész API integráció (fejlesztés alatt)
- 🍿 Random film ajánló – ország vagy népszerűség alapján válogatva
- ✉️ Mail olvasó – IRC-n keresztül hozzáférhető e-mail doboz
- ⛅ Időjárás – OpenWeatherMap vagy wttr.in integráció
- 🎂 Névnap értesítő – napi névnapok küldése reggelente
- ⌨️ Shell parancsok – előre meghatározott biztonságos parancsok (!ssh, !nmap, !dns, !ip)
- 🖥️ Resource monitor – CPU, memória, load figyelése és SQLite-ba mentés
- 🔴 Push értesítések – webhook események fogadása (pl. Jellyfin down)
- 🛠️ Szolgáltatásfigyelés – portok és szolgáltatások online állapotának követése
- 📡 Ping plugin – !ping / !pong parancsok és host elérhetőség
- 🧠 ChatGPT – mesterséges intelligencia válaszok IRC-n keresztül
- ⚡ XP rendszer – aktivitás alapú szintlépés és motivációs rendszer
- 📅 Óra / idő – pontos idő küldése (!ora)
- 🧠 Debug plugin – teszteléshez és hibafigyeléshez használható
- 📦 Tanuló plugin – !learn parancs egyedi válaszok tanítására
- 🌍 DNS / IP info – domain vagy IP cím alapján információ (!dns, !ip)
- 🦠 BruteForce figyelő –
/var/log/auth.logvalós idejű brute force ellenőrzés - 🔁 IRC relay – üzenetek tükrözése másik IRC hálózatba
- 📬 Info/help – !help és !info parancsok válaszai
- 📹 YouTube információ – link alapján: cím, hossz, like szám, stb.
- 🔐 WebAuth – webes hitelesítés engedélyezése IRC parancsokhoz
- 🔄 Autotopic – automatikus topic frissítés a console csatornán
- 🛎️ Service Manager – szolgáltatás menedzsment parancsok (!service)
- 🛡️ Fail2Ban integráció – automatikus IP-tiltás logok alapján
- 🔁 Cycle plugin – csatorna cycle viselkedés ha nincs @ a nicknél
- 📊 Média aktivitás követés – médiafájlok használati statisztikáinak figyelése
- 🗓️ Média feltöltés dátumkövetés – sent_dates.json alapú követés
- 🔑 ConsoleKey – konzolcsatorna jelszóval védett parancsok
- ✉️ SMTP küldés – e-mail küldés/SMTP integráció (mail plugin)
- 🗂️ Git API interakció – commitok és repo információk lekérése IRC-n keresztül
- 🌐 Undernet / X-service integráció – más IRC hálózatokhoz való kapcsolódás és X-service kezelés
- 🔐 SASL autentikáció – IRC SASL login támogatás
- 🧪 Experimental (X) plugin – kísérleti/fejlesztés alatt álló funkciók engedélyezése
Bot parancsok (Nem minden parancs szerepel itt, a README folyamatosan frissül):
🔧!help | !whoami | !uptime | !addadmin [szint] [hostmask] | !deladmin | !listadmins | !admininfo [nick] | !v/!voice [nick] | !h/!halfop [nick] | !o/!op [nick] | !k [indok] | !secure
IRC Bot – Active Plugins List
- 🛡️ Admin Commands – permission management, automatic VOICE/OP
- 📺 Media Recommendations – shows latest uploaded movies/series
- ⏫ Media Upload Monitor – detects new Jellyfin uploads via webhook
- ✏️ Media Requests – users can request movies/series (“kell” and “keresek”)
- ✅ Upload Confirmation – marks requests as completed
- 🗑️ Request Deletion – admin command to delete a media request
- 🔎 Media Info – search and detailed info on media content
- 🤖 Tamagotchi Game – raise a digital pet via IRC (!tama)
- ❌⭕ Tic-Tac-Toe Game – interactive IRC-based XO implementation
- 🤣 Daily Joke – fetches a daily or random joke
- 👀 Seen Plugin – tracks when users were last seen on IRC
- 📰 RSS Reader – monitors custom feeds like HunTorrent
- 🔍 IMDB Lookup – fetches info about movies/series by title (!imdb)
- 🎬 TMDb Search – movie/series/actor info via TMDb API (in development)
- 🍿 Random Movie Recommender – picks movies by popularity or region
- ✉️ Mail Reader – access mailbox through IRC (!mail)
- ⛅ Weather Info – fetches weather via OpenWeatherMap or wttr.in
- 🎂 Nameday Notifier – posts today’s namedays every morning
- ⌨️ Shell Commands – safe predefined commands (!ssh, !nmap, !dns, !ip)
- 🖥️ Resource Monitor – CPU, memory, load tracking, saved to SQLite
- 🔴 Push Notifications – alerts for service events (e.g., Jellyfin down)
- 🛠️ Service Uptime Checker – port monitoring and online status reports
- 📡 Ping Plugin – simple !ping and host reachability check
- 🧠 ChatGPT Integration – smart AI replies in IRC chat
- ⚡ XP System – user level-up system based on activity
- 📅 Time Plugin – returns current time (!ora)
- 🧠 Debug Plugin – used for test and debug logging
- 📦 Learn Plugin – allows learning custom replies via !learn
- 🌍 DNS / IP Info – domain or IP-based info lookup (!dns, !ip)
- 🦠 BruteForce Monitor – monitors
/var/log/auth.logfor brute force attacks - 🔁 IRC Relay – mirrors messages between two IRC networks
- 📬 Info/Help – responds to !help and !info with usage instructions
- 📹 YouTube Info – extracts title, duration, likes from YouTube links
- 🔐 WebAuth – enables web authentication for IRC commands
- 🔄 Autotopic – automatic topic updates on the console channel
- 🛎️ Service Manager – service management commands (!service)
- 🛡️ Fail2Ban integration – automatic IP banning based on log files
- 🔁 Cycle plugin – channel cycling behavior when no @ is present on the nick
- 📊 Media activity tracking – monitoring usage statistics of media files
- 🗓️ Media upload date tracking – tracking based on sent_dates.json
- 🔑 ConsoleKey – console channel protected with a password for commands
- ✉️ SMTP sending – email sending / SMTP integration (mail plugin)
- 🗂️ Git API interaction – fetching commit and repository information via IRC
- 🌐 Undernet / X-service integration – connecting to other IRC networks and X-service management
- 🔐 SASL authentication – IRC SASL login support
- 🧪 Experimental (X) plugin – enables experimental / in-development features
Bot Commands (Not all commands are listed here, the README is continuously updated):
🔧 !help | !whoami | !uptime | !addadmin [level] [hostmask] | !deladmin | !listadmins | !admininfo [nick] | !v/!voice [nick] | !h/!halfop [nick] | !o/!op [nick] | !k [reason] | !secure
Telepítés
# Klónozd a YnM-Go IRC bot repository-ját
git clone https://git.ynm.hu/Markus/YnM-Go.git
# Lépj be a projekt könyvtárába
cd YnM-Go
# Töltsd le a Go modulok függőségeit
go mod tidy
# Fordítsd le a botot
go build -o YnM-Go
# Másold át az alapértelmezett konfigurációs fájlt
cd YnMConfig/
cp example-ynm.yaml ynm.yaml
# Szerkeszd a konfigurációt
nano ynm.yaml
# --- Mit érdemes ellenőrizni és beállítani ---
# 1. IRC kapcsolat
# - Server: a használandó IRC szerver címe
# - Port / TLSPort: a TCP és TLS portok
# - NickName: a bot nick neve
# - UserName / RealName: az IRC azonosítási adatok
#
# 2. NickServ beállítások
# - NickservBotnick, NickservNick, NickservPass
# - AutoLogin: true/false
# - AutoJoinWithoutLogin: true/false
#
# 3. SASL / TLS
# - SASL: true/false
# - SASLUser / SASLPass
# - TLS: true/false
# - TLSCert / TLSKey (ha szükséges)
#
# 4. Console
# - Console: log csatorna neve
# - ConsoleKey: jelszó, ha van
#
# 5. Pluginok
# - Kapcsold be vagy ki a szükséges pluginokat a "enable_*" opciókkal
# - Ellenőrizd a plugin-specifikus beállításokat (pl. media_upload, weather, openai, GitPlugin stb.)
#
# 6. Adatbázisok / logok / könyvtárak
# - LogDir, data_dir, seen_db, SmsDBPath, stb.
#
# 7. Időzítések / ütemezések
# - Ping, Joke, Nevnap, Szekelyhon, topic_update_interval stb.
#
# 8. Egyéb kiegészítők
# - Huntorrent, WebAuth, Fail2Ban, Cycle, autovoice, experimental pluginok
# Miután átállítottad a szükséges beállításokat, mentsd el a fájlt és lépj ki a szerkesztőből.
# Indítsd el a botot
./YnM-Go
Build
# Clone the YnM-Go IRC bot repository
git clone https://git.ynm.hu/Markus/YnM-Go.git
# Enter the project directory
cd YnM-Go
# Download Go module dependencies
go mod tidy
# Build the bot
go build -o YnM-Go
# Copy the default configuration file
cp example-ynm.yaml ynm.yaml
# Edit the configuration
nano ynm.yaml
# --- What to check and configure ---
# 1. IRC connection
# - Server: the IRC server to connect to
# - Port / TLSPort: TCP and TLS ports
# - NickName: bot's nickname
# - UserName / RealName: IRC identification info
#
# 2. NickServ settings
# - NickservBotnick, NickservNick, NickservPass
# - AutoLogin: true/false
# - AutoJoinWithoutLogin: true/false
#
# 3. SASL / TLS
# - SASL: true/false
# - SASLUser / SASLPass
# - TLS: true/false
# - TLSCert / TLSKey (if required)
#
# 4. Console
# - Console: name of the log channel
# - ConsoleKey: password for the console channel, if any
#
# 5. Plugins
# - Enable or disable necessary plugins using "enable_*" options
# - Check plugin-specific settings (e.g., media_upload, weather, openai, GitPlugin, etc.)
#
# 6. Databases / logs / directories
# - LogDir, data_dir, seen_db, SmsDBPath, etc.
#
# 7. Scheduling / timers
# - Ping, Joke, Nevnap, Szekelyhon, topic_update_interval, etc.
#
# 8. Other extras
# - Huntorrent, WebAuth, Fail2Ban, Cycle, autovoice, experimental plugins
# After adjusting all necessary settings, save the file and exit the editor.
# Start the bot
./YnM-Go
Könyvtárszerkezet
.
├── data
│ ├── admins.json
│ ├── bot_errors.log
│ ├── bot_status.db
│ ├── forum.db
│ ├── git_last_seen.txt
│ ├── joke_status.json
│ ├── last_online.json
│ ├── last_sent_activity.txt
│ ├── learn.db
│ ├── mail
│ │ └── accounts.json
│ ├── movies.db
│ ├── ora.db
│ ├── owners.json
│ ├── robot.db
│ ├── seen.db
│ ├── seen.db-shm
│ ├── seen.db-wal
│ ├── sent_dates.json
│ ├── sms.db
│ ├── sms.db-shm
│ ├── sms.db-wal
│ ├── url.db
│ ├── user_stats.db
│ ├── vips.json
│ ├── weather_cache.json
│ ├── webauth.db
│ ├── web.db
│ ├── xp_backups
│ │ └── xp_backup_20250920_103231.dat
│ ├── xp.db
│ ├── xp másolata.db
│ ├── ynm.db
│ ├── ynm.db-shm
│ ├── ynm.db-wal
│ └── ynm másolata.db
├── go.mod
├── go.sum
├── LICENSE
├── logs
│ ├── *_2025-07-24.log
│ ├── *_2025-07-26.log
│ ├── #ynm-debug_2025-10-05.log
│ ├── YnM-Go_2025-07-24.log
│ └── #znc_2025-08-09.log
├── main.go
├── Makefile
├── README.md
├── version-manager.sh
├── YnM
│ ├── app.go
│ ├── handlers.go
│ ├── plugin_manager.go
│ └── raw.go
├── YnMAdmin
│ ├── ower_plugin.go
│ ├── owner_add_admin_mod_vip.go
│ ├── owner_addchan.go
│ ├── owner_adduser.go
│ ├── owner_automode.go
│ ├── owner_commands.go
│ ├── owner.go
│ ├── owner_mail.go
│ ├── owner_mode.go
│ ├── owner_monitor.go
│ ├── owner_pass.go
│ ├── owner_role.go
│ └── owner_usermodes_chan.go
├── YnMCmd
│ ├── cmd_restart.go
│ ├── cycle.go
│ ├── git_update
│ ├── git_update_upgrade_notify.go
│ ├── shell_topic.go
│ ├── update_notify
│ └── uptime.go
├── YnMConfig
│ ├── config.go
│ ├── example-rss.yaml
│ ├── example-ynm.yaml
│ ├── forum.yaml
│ ├── media.yaml
│ ├── monitor.yaml
│ ├── rss.yaml
│ ├── xp.yaml
│ └── ynm.yaml
├── YnMDb
│ ├── admin_chan_db.go
│ ├── admin_chan_modes.db.go
│ ├── admindb.go
│ ├── plugins_aktiv.go
│ ├── user_pass_db.go
│ ├── user_role.db.go
│ ├── users_chan_db.go
│ ├── users_chan_modes.db.go
│ ├── users_email.go
│ └── ynm_db.go
├── YnMDebug
│ └── debug.go
├── YnM-Go
├── YnMIrC
│ ├── channel.go
│ ├── client.go
│ ├── handlers.go
│ └── types.go
├── YnMLang
│ ├── i18n.go
│ ├── ynm-en.go
│ ├── ynm-hu.go
│ └── ynm-ro.go
├── YnMModule
│ ├── ynm_adminlevel.go
│ ├── ynm_common.go
│ ├── ynm_data
│ ├── ynm_genpass.go
│ ├── ynm_login.go
│ └── ynm_sendmail.go
├── YnMModuls
│ └── media
│ ├── media_activity.go
│ ├── media_ajanlo.go
│ ├── media_del.go
│ ├── media_info.go
│ ├── media_kell.go
│ ├── media_keresek.go
│ ├── media_ok.go
│ ├── media_upload.go
│ └── media_utils.go
└── YnMPlugins
├── bruteforce.go
├── chatgpt.go
├── dns.go
├── fail2ban.go
├── forum.go
├── git.go
├── horoszkop.go
├── huntorrent_chat.go
├── ido.go
├── imdb.go
├── ip.go
├── learn.go
├── link.go
├── monitor.go
├── nevnap.go
├── nmap.go
├── ora.go
├── ping.go
├── pinghost.go
├── seen.go
├── service.go
├── sms.go
├── ssh.go
├── status.go
├── szekelyhon.go
├── TorrentRSS.go
├── vicc.go
├── web.go
├── webhook.go
├── web_pass.go
├── xp.go
└── yt.go
17 directories, 423 files
Konfiguráció
A YnMConfig/ynm.yaml fájl tartalmazza az IRC-szerver, nicknév és csatornák beállításait:
# ========================================================
# Szerzői jog © 2025 Markus (markus@ynm.hu)
# https://ynm.hu – főoldal
# https://forum.ynm.hu – hivatalos fórum
# https://bot.ynm.hu – bot oldala és dokumentáció
#
# Minden jog fenntartva. A kód Markus tulajdona, tilos terjeszteni vagy
# módosítani a szerző írásos engedélye nélkül.
#
# Ez a fájl a YnM-Go IRC-bot rendszerének része.
# ========================================================
# ────────── Plugins (true/false) ──────────
Plugins:
# YnM Owner
enable_control: true # ⚠️ DANGER! To Enables !die, !restart, !reload commands
enable_update: true # ⚠️ DANGER! To Enables !update, !upgrade commands
enable_debug: true # ⚠️ DANGER! To Debug mode active
enable_ctcp: true # ⚠️ DANGER! To CTCP Reply mode active
enable_autotopic: true # ⚠️ DANGER! To AutoTopic ConsoleChan mode active
# YnM IRC Plugins
enable_ping: true # Enables ping command to check bot responsiveness
enable_xp: true # Tracks and awards experience points to users
# YnM Web plugins
enable_webstatus: true # Shows status of web services
enable_yt: true # Provides YouTube video search and info
enable_forum: true # Forum related features
enable_webhook: true # Allows sending and receiving webhooks
enable_git: true # Git repository interactions
enable_link: true # Link shortening or handling
# Media plugins
enable_movie: true # Movie information and lookup
enable_movie_request: true # Allows users to request movies
enable_movie_completion: true # Completes movie requests automatically
enable_movie_deletion: true # Allows deletion of movie entries
enable_media_upload: true # Upload media to server
enable_media_ajanlat: true # Suggest media recommendations
enable_jellyfin_info: true # Fetch info from Jellyfin server
enable_media_activity: true # Tracks media-related activity
# Scheduled plugins
enable_joke: true # Sends scheduled jokes
enable_szekelyhon: true # Provides news from Szekelyhon
enable_nameday: true # Announces namedays
enable_huntorrent: true # Checks for torrent availability
# YnM Interact
enable_chatgpt: true # ChatGPT interaction plugin
enable_horoscope: true # Provides daily horoscopes
enable_learn: true # Learning and quiz features
enable_imdb: true # Fetch movie info from IMDb
enable_vicc: true # Tells jokes (vicc = joke)
enable_weather: true # Provides weather information
enable_seen: true # Tracks last seen activity of users
enable_sms: true # SMS sending feature
enable_status: true # System or user status reporting
enable_ora: true # Time related plugin (ora = clock/time)
# YnM System
enable_monitor: true # System monitoring
enable_hack: true # Security testing/hacking tools
#YnM Games
# YnM Network Plugins
enable_ssh: true # SSH connection plugin
enable_nmap: true # Network scanning using Nmap
enable_dns: true # DNS lookup tools
enable_ip: true # IP address utilities
enable_pinghost: true # Ping specific hosts
# YnM False & Working (experimental/disabled)
enable_ynm: true # Core YnM plugin
enable_autovoice: false # Automatic voice assign
enable_mail: false # Mail sending/receiving
enable_xes0: false # Experimental plugin
# ⚠️ DANGER! ⚠️ DANGER! ⚠️
update_check:
enabled: true
auto_upgrade: false # ⚠️ DANGER! To Enables
check_interval: "1m" # Check for updates every 2 hours
notify_interval: "2m" # Notify about updates once per day
##
TLS: true # ha true, akkor TLS (SSL) kapcsolaton csatlakozik
TLSCert: "/home/bot/ssl.cert" # kliens tanúsítvány (opcionális, ha a szerver igényli)
TLSKey: "/home/bot/ssl.key" # kliens privát kulcs (opcionális)
# ────────── SASL kapcsolat (opcionális) ──────────
SASL: true # Kapcsold be a SASL-t
SASLUser: "YnM-Go" # Ez a regisztrált nick
SASLPass: "****" # A jelszó (tárolás titkosítva javasolt)
# ────────── Alap IRC kapcsolat ──────────
Server: "192.168.0.150" # csak cím vagy domain név, port nélkül
Port: "6667" # sima TCP port
TLSPort: "6697" # TLS/SSL port
NickName: "YnM-Go" # ideiglenes / végleges nick (NickServ védett)
UserName: "YnM" # USER parancs adatai
RealName: "Markus Lajos"
# ────────── NickServ azonosítás és viselkedés ──────────
NickservBotnick: "NickServ" # NickServ bot neve a hálózaton
NickservNick: "YnM-Go" # a regisztrált fiók nickje
NickservPass: "*****" # jelszó (tárold biztonságosan!)
Autologin: true # ha false, nem próbál bejelentkezni NickServ-hez
AutoJoinWithoutLogin: false # ha true, akkor login nélkül is belép a channels listában lévő szobákba
# ────────── Rendszer-/konzolcsatorna ──────────
Console: "#YnM" # kötelező! ide kerül minden belső log, hiba, státusz
# ────────── Automatikus csatlakozás további szobákhoz ──────────
Channels:
- "#Help"
- "#Magyar"
# ────────── Naplók, reconnect, parancs-cooldown ──────────
URL_DB: "./data/url.db"
seen_db: "./data/seen.db"
SmsDBPath: "./data/sms.db"
LogDir: "./logs"
data_dir: "./data"
data_directory: "./data"
ReconOnDiscon: "60s" # automatikus újracsatlakozás 60 mp után
search_notification_delay: 1m
# ────────── NévNap Plugin Időzítők ──────────
NevnapReggel: "07:30"
NevnapEste: "21:30"
NevnapChannels:
- "#Magyar"
# ────────── Ping Plugin Időzítők ──────────
Ping: "30s" # felhasználói !ping parancs várakozási ideje
# ────────── Székelyhon Hírek Plugin ──────────
SzekelyhonChannels:
- "#Magyar"
SzekelyhonInterval: 120m # minden 120 percben (2 óra)
SzekelyhonStartHour: 7 # reggel 7-től
SzekelyhonEndHour: 22 # este 22-ig
# ────────── Viccek Plugin ──────────
JokeChannels:
- "#Magyar"
JokeSendTime: "08:00" # Óra:perc formátumban, 24 órás
# ────────── Movie plugin configuration ──────────
jellyfin_db_path: "/var/lib/jellyfin/data/library.db"
movie_db_path: "./data/movies.db"
movie_requests_channel: "#Magyar"
movie_plugin:
post_time: "20:00"
post_chan: "#Magyar"
post_nick: "ML"
# ────────── Media Ajanló ──────────
media_ajanlat:
channel: "#Magyar"
time: "21:35"
media_upload:
enabled: true
channels:
- "#Magyar"
interval_minutes: 1
jellyfin_db: "/var/lib/jellyfin/data/library.db"
sent_dates_file: "./data/sent_dates.json"
media_activity:
enabled: true
jellyfin_db_path: "/home/bot/jellyfin_readonly.db"
check_interval: 30
irc_channel: "#YnM"
secondary_channel: "#Magyar"
online_cooldown: 2 # órában
base_data_dir: "./data"
notification_url: "https://bot.ynm.hu/topmedia"
# ────────── Óra Reminder ──────────
orachan:
- "#Magyar"
- "#YnM"
ora_db_file: "./data/ora.db"
# ────────── Robot beállítások ──────────
Robot:
TChan: "#Magyar"
RobotDB: "./data/robot.db"
Szamolas: 180 # 180 perc (3 óra) frissítési ciklus
Ehseg: 0.1 # 0.1 energia csökkenés/óra
Boldogsag: 0.1 # 0.1 boldogság csökkenés/óra
Tisztasag: 0.1 # 0.1 karbantartás csökkenés/óra
# ────────── Weather Plugin ──────────
weather:
weatherAPIKey: "****"
defaultLocation: "Budapest"
units: "metric"
language: "hu"
# ────────── Auto Modok ──────────
AutoModok:
Vip:
autovoice:
- "#YnM"
- "#Magyar"
Admin:
autovoice:
- "#YnM"
autohop:
- "#Magyar"
Owner:
autovoice:
- "#Magyar"
autohop:
- "#YnM"
- "#Magyar"
autoop:
- "#Help"
# ────────── YnM Plugins ──────────
GitPlugin:
channel:
- "#Magyar"
- "#YnM"
apiURL: "https://git.ynm.hu/api/v1/repos/Markus/YnM-Go/commits"
imdb:
api_key: "*****"
trigger: "!"
default_lang: "hu"
num_list: 1
rating_symbol: "★"
openai:
api_key: "***"
Demo
[21:11:14] (@YnM-Go): 🔑 SASL típusú azonosítás sikeresen létrejött.
[21:11:15] (%Markus): !chatgpt Hello
[21:11:16] (@YnM-Go): 💬 ChatGPT válasz: Hello! How can I assist you today?
[21:11:16] (%Markus): !imdb predator
[21:11:16] (@YnM-Go): [TMDb] Ragadozó (1987) | Értékelés: ★★★★★★★★ 7.5/10 | Sci-Fi, Akció, Kaland, Thriller | 107 perc | tt0093773 | Népszerűség: 13.8 | Történet: A különlegesen képzett kommandót egy dél-amerikai dzsungelbe vezénylik, hogy felkutassák és kimentsék bajba jutott társaikat - akik a környéken tűntek el és akik egy ideje nem adnak éle...
[21:11:18] (%Markus): !chatgpt Hello
[21:11:19] (@YnM-Go): 💬 ChatGPT válasz: Hello! How can I assist you today?
[21:11:23] (%Markus): !status
[21:11:24] (@YnM-Go): 🤖 YnM-Go | 🔐 | ⏱️ 0m | 🧠 1.7MB | 🔄 0.4% | 🧵 37 | 👥 0/3
[21:11:33] (%Markus): !status full
[21:11:34] (@YnM-Go): 📊 *Detailed Status Report*
[21:11:35] (@YnM-Go): 🤖 Bot: YnM-Go | 🔐 TLS enabled
[21:11:36] (@YnM-Go): ⏱️ Bot Uptime: 0m | 🖥️ Server Uptime: 40d3h13m
[21:11:36] (@YnM-Go): 💻 System: linux/amd64 | 🧵 Threads: 37
[21:11:36] (@YnM-Go): 🧠 RAM: Go(1.8MB) Process(20.8MB) Total(48261MB)
[21:11:37] (@YnM-Go): 🔄 CPU: 1.1% | Load: 🟢 0.69 0.66 0.66 (cores: 24)
[21:11:38] (@YnM-Go): 💾 Disk: 🟢 134.5/227.2 GB (62.4%)
[21:11:38] (@YnM-Go): 📦 GC Objects: 12552 | 👥 Users: 0 | 🧑🤝🧑 Channels: 3
[21:11:39] (@YnM-Go): 📨 Messages: 25 total, 5 commands, 3630.9/hour
[21:11:41] (%Markus): !vicc
[21:11:47] (@YnM-Go): 🤣 Egy csinos kis szőke nő úszni tanul. Egy idő után így szól az úszóoktatóhoz: - Mondja, tényleg elsüllyedek, ha kihúzza a lábaim közül az ujját?
[21:12:07] (%Markus): !debug
[21:12:07] (@YnM-Go): ℹ️ Nincs elérhető hibaüzenet.
[21:12:13] (%Markus): !help
[21:12:13] (@YnM-Go): Admin Commands: | !addadmin <nick> [level] - Add admin (level 1=VIP, 2=Admin, 3=Owner) | !admininfo [nick] - Show admin info | !listadmins - List all admins | !whoami - Show your admin status | Voice: !v/!voice [nick] - Toggle voice | Halfop: !h/!halfop [nick] - Toggle halfop | Op: !o/!op [nick] - Toggle op | !die - Shutdown bot
[21:12:19] (%Markus): !bot
[21:12:19] (@YnM-Go): 🤖 Robot Parancsok: | 📦 !bot uj <név> – Új robot létrehozása (admin) | 🗑️ !bot torol – Robot törlése (admin) | 🔄 !bot reset - Hardver visszaállítása alapértékre (CPU:2.5GHz, RAM:2GB) (admin) | 🔍 !bot allapot – Robot állapotának ellenőrzése | 🔋 !bot tolt – Robot töltése | ⚙️ !bot mukodik – Robot működtetése | 🛠️ !bot karbantart – Robot karbantartása | 🔧 !bot javit – Leállított robot javítása (admin) | 🔄 !bot ujrainditas –
[21:12:19] (@YnM-Go): Robot újraindítása (admin) | 💾 !bot ram <MB> – RAM bővítés (admin) | 🖥️ !bot cpu <GHz> – CPU bővítés (admin) | 💽 !bot tarhely <GB> – Tárhely bővítés (admin) | 🦠 !bot virus <fertoz|eltavolit> – Vírus kezelés (admin) | 📊 !bot info – Részletes robot információ | 📘 !bot segitseg – Segítség megjelenítése | 💡 Tipp: Tartsd a robotod töltve, működőképes és karbantartott állapotban!
[21:13:58] (%Markus): !ssh 192.168.0.150 22
[21:13:58] (@YnM-Go): 🟢 192.168.0.150:22 - Port open
[21:14:05] (%Markus): !nmap 192.168.0.150
[21:14:05] (@YnM-Go): 🔍 Scanning 192.168.0.150 (tcp, 36 ports, speed=3s)...
[21:14:06] (@YnM-Go): 🟢 192.168.0.150 - Open ports: 443 (HTTPS), 22 (SSH), 143 (Banner: * OK [CAPABILITY IMA...), 587 (Banner: 220 mail.ynm.hu ESMT...), 8443, 993, 9000
[21:14:16] (%Markus): !ip facebook.com
[21:14:17] (@YnM-Go): IP: facebook.com
[21:14:17] (@YnM-Go): Ország: The Netherlands (NL)
[21:14:18] (@YnM-Go): Régió: North Holland, Város: Amsterdam
[21:14:18] (@YnM-Go): ISP: Facebook, Inc.
[21:14:19] (@YnM-Go): Szervezet: Facebook, Inc.
[21:14:19] (@YnM-Go): AS: AS32934 Facebook, Inc.
[21:14:20] (@YnM-Go): Reverse DNS: edge-star-mini-shv-01-ams4.facebook.com
[21:14:20] (@YnM-Go): Koordináták: 52.3759, 4.8975
[21:14:21] (@YnM-Go): Időzóna: Europe/Amsterdam
[21:14:27] (%Markus): !pinghost facebook.com
[21:14:28] (@YnM-Go): 🟢 facebook.com válaszolt 492 ms alatt
[21:14:32] (%Markus): !dns facebook.com
[21:14:32] (@YnM-Go): 🟢 facebook.com IP címek: 185.60.218.35, 2a03:2880:f123:83:face:b00c:0:25de
Testing here!
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
Important
Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.
- #739
- https://bot.ynm.hu
- Add delight to the experience when all tasks are complete 🎉
This is bold text
This text is italicized
This was mistaken text
This text is extremely important
All this text is important
This is a subscript text
This is a superscript text
This is an underlined text
Text that is not a quote
Text that is a quote
Use git status to list all new or modified files that haven't yet been committed.
The background color is #ffffff for light mode and #000000 for dark mode.
This site was built using YnM Pages.
Example headings
Sample Section
This'll be a Helpful Section About the Greek Letter Θ!
A heading containing characters not allowed in fragments, UTF-8 characters, two consecutive spaces between the first and second words, and formatting.
This heading is not unique in the file
TEXT 1
This heading is not unique in the file
TEXT 2
Links to the example headings above
Link to the sample section: Link Text.
Link to the helpful section: Link Text.
Link to the first non-unique section: Link Text.
Link to the second non-unique section: Link Text.
Contribution guidelines for this project Contribution guidelines for this project
This example
Will span two lines
-
First list item
- First nested list item
- Second nested list item
- First nested list item
-
First list item
- First nested list item
@octocat 👍 This PR looks great - it's ready to merge! :shipit: https://github.com/ikatyang/emoji-cheat-sheet/blob/github-actions-auto-update/README.md
Section Heading
Here is a simple footnote1.
A footnote can also have multiple lines2.
Some text I want to provide a direct link to, but which doesn't have its own heading.
(… more content…)
A first-level heading
A second-level heading
A third-level heading
Visit https://bot.ynm.hu
Fejlesztette: Markus (YnM.hu) 📧 markus@ynm.hu Szerzői jog: 2012-2025 – Minden jog fenntartva.