-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New Activites: Some Discord Bots and 1 Hosting Website #10948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 18 commits
27f1462
012b0e4
8e9e3fd
90584f1
ba6a0fb
0edf1e3
6b68afb
5348d97
95c9218
13fe431
c62d8e8
078ec00
2eb2e2d
e68b20b
929dfbf
e9eb862
0ae502f
fe66a0c
67db262
30b6ac4
33b7c45
7641148
8579237
7300597
417de7f
d8d6c46
bd96b57
a43c7b9
5e0f5c5
5d4a549
1401db2
84e8d4d
68f2848
2909932
60c8b0b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,3 +37,5 @@ pmd-results.sarif | |
|
|
||
| # Coverage files | ||
| coverage | ||
| package-lock.json | ||
| package-lock.json | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,24 @@ | ||||||
| { | ||||||
| "$schema": "https://schemas.premid.app/metadata/1.16", | ||||||
| "apiVersion": 1, | ||||||
| "author": { | ||||||
| "id": "1288129332455149619", | ||||||
| "name": "Daniyt_th" | ||||||
| }, | ||||||
| "service": "Ghosty", | ||||||
| "description": { | ||||||
| "en": "A Discord bot that features a log, antinuke, and antiraid system.", | ||||||
| "hu": "Egy magyar Discord bot, amely log, antinuke és antiraid rendszerrel rendelkezik." | ||||||
| }, | ||||||
| "url": [ | ||||||
| "ghostybot.hu", | ||||||
| "ghosty.instatus.com", | ||||||
| "ghostydcbot.hu"], | ||||||
Check failureCode scanning / ESLint Having line breaks styles to object, array and named imports Error
Should have line breaks between items, in node JSONArrayExpression
|
||||||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||||||
| "regExp": "^https?:\\/\\/(ghostybot\\.hu|ghosty\\.instatus\\.com|ghostydcbot\\.hu)(\\/.*)?$", | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "version": "1.0.0", | ||||||
| "logo": "https://images-ext-1.discordapp.net/external/zxeFfLcwtFrN41UxLJ54W0j5tzwKdh30j_tHShGU9bY/https/cdn.discordapp.com/avatars/1392901069956190280/ba825fe334c139e6c6b47d71ac47ed8e.webp", | ||||||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||||||
| "thumbnail": "https://images-ext-1.discordapp.net/external/zxeFfLcwtFrN41UxLJ54W0j5tzwKdh30j_tHShGU9bY/https/cdn.discordapp.com/avatars/1392901069956190280/ba825fe334c139e6c6b47d71ac47ed8e.webp", | ||||||
Check failureCode scanning / PMD Makes sure all images (logo and URLs) are exactly 512x512 pixels Error
Image URL dimensions must be exactly 512x512 pixels, got 128x128 for URL: https://images-ext-1.discordapp.net/external/zxeFfLcwtFrN41UxLJ54W0j5tzwKdh30j\_tHShGU9bY/https/cdn.discordapp.com/avatars/1392901069956190280/ba825fe334c139e6c6b47d71ac47ed8e.webp
|
||||||
| "color": "#acaea4", | ||||||
| "category": "other", | ||||||
| "tags": ["bot", "automod", "logging", "security", "hungarian"] | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| import { Assets } from 'premid' | ||
|
|
||
| const presence = new Presence({ | ||
| clientId: '1392901069956190280', // Ghosty ID | ||
| }) | ||
|
|
||
| const browsingTimestamp = Math.floor(Date.now() / 1000) | ||
|
|
||
| enum ActivityAssets { | ||
| Logo = 'https://images-ext-1.discordapp.net/external/zxeFfLcwtFrN41UxLJ54W0j5tzwKdh30j_tHShGU9bY/https/cdn.discordapp.com/avatars/1392901069956190280/ba825fe334c139e6c6b47d71ac47ed8e.webp', | ||
Check failureCode scanning / PMD Makes sure all images (logo and URLs) are exactly 512x512 pixels Error
Image URL dimensions must be exactly 512x512 pixels, got 128x128 for URL: https://images-ext-1.discordapp.net/external/zxeFfLcwtFrN41UxLJ54W0j5tzwKdh30j\_tHShGU9bY/https/cdn.discordapp.com/avatars/1392901069956190280/ba825fe334c139e6c6b47d71ac47ed8e.webp
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| } | ||
|
|
||
| presence.on('UpdateData', async () => { | ||
| const { hostname, pathname } = document.location | ||
|
|
||
| const presenceData: PresenceData = { | ||
| largeImageKey: ActivityAssets.Logo, | ||
| startTimestamp: browsingTimestamp, | ||
| smallImageKey: Assets.Play, | ||
| details: 'Böngészik', | ||
| } | ||
|
|
||
| // ghostybot.hu | ||
| if (hostname.includes('ghostybot.hu')) { | ||
| if (pathname === '/' || pathname === '') { | ||
| presenceData.state = 'Főoldalt Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('commands')) { | ||
| presenceData.state = 'Dashboardot Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('status')) { | ||
| presenceData.state = 'Státusz Oldalt Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('faq')) { | ||
| presenceData.state = 'GYIK Oldalt Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('support')) { | ||
| presenceData.state = 'Support Oldalt Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('privacy')) { | ||
| presenceData.state = 'Adatvédelmi Oldalt Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('terms')) { | ||
| presenceData.state = 'Felhasználási Feltételeket Nézi' | ||
| } | ||
| else if (pathname.includes('globalban-rules')) { | ||
| presenceData.state = 'A Globalban Szabályzatot Nézi' | ||
| } | ||
| else if (pathname.includes('partners')) { | ||
| presenceData.state = 'A Partnereket Nézi' | ||
| } | ||
| else if (pathname.includes('collabs')) { | ||
| presenceData.state = 'A Collabsokat Nézi' | ||
| } | ||
| } | ||
|
|
||
| // ghosty.instatus.com | ||
| else if (hostname.includes('ghosty.instatus.com')) { | ||
| presenceData.state = 'Státusz Oldalt Nézi' | ||
| } | ||
|
|
||
| // ghostydcbot.hu | ||
| else if (hostname.includes('ghostydcbot.hu')) { | ||
| if (pathname === 'welcome-to-the-documention') { | ||
| presenceData.state = 'Az Üdvőzlő Oldalt Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('installation')) { | ||
| presenceData.state = 'A Telepítési Információkat Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('permissions')) { | ||
| presenceData.state = 'A Jogosultságok Információit Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('log-chnnel-set')) { | ||
| presenceData.state = 'Log Csatorna Beállítását Nézi' | ||
| } | ||
|
|
||
| else if (pathname.includes('configuring-security-systems')) { | ||
| presenceData.state = 'A Védelmi Rendszerek Beállítását Nézi' | ||
| } | ||
| else if (pathname.includes('autorole')) { | ||
| presenceData.state = 'Az Autorole Beállítását Nézi' | ||
| } | ||
| else if (pathname.includes('automod')) { | ||
| presenceData.state = 'Az Automod Beállítását Nézi' | ||
| } | ||
| else if (pathname.includes('guild-tag-system')) { | ||
| presenceData.state = 'A Guild Címke Rendszer Beállítását Nézi' | ||
| } | ||
| } | ||
|
|
||
| // Ha van state → Presence aktív | ||
| if (presenceData.state) | ||
| presence.setActivity(presenceData) | ||
| else | ||
| presence.clearActivity() | ||
| }) | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,24 @@ | ||||||
| { | ||||||
| "$schema": "https://schemas.premid.app/metadata/1.16", | ||||||
| "apiVersion": 1, | ||||||
| "author": { | ||||||
| "id": "1288129332455149619", | ||||||
| "name": ".daniyt_th." | ||||||
| }, | ||||||
| "service": "Lumex", | ||||||
| "description": { | ||||||
| "en": "Hi, I'm Lumex! I mainly handle moderation and will help you set up your server.", | ||||||
| "hu": "Szia, én Lumex vagyok! Főként moderálással foglalkozom, segítek felépíteni a szervered." | ||||||
| }, | ||||||
| "url": [ | ||||||
| "lumex.hu", | ||||||
| "status.lumex.hu" | ||||||
| ], | ||||||
Check failureCode scanning / PMD Makes sure all images (logo and URLs) are exactly 512x512 pixels Error
Image URL dimensions must be exactly 512x512 pixels, got 128x128 for URL: https://cdn.discordapp.com/avatars/1498333732174827611/b07191c9a033296655b5409f1c10962c.webp
|
||||||
| "regExp": "^https?://([a-z0-9-]+\\.)*(lumex\\.hu|status\\.lumex\\.hu)/", | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "version": "1.0.0", | ||||||
| "logo": "https://cdn.discordapp.com/avatars/1498333732174827611/b07191c9a033296655b5409f1c10962c.webp", | ||||||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||||||
| "thumbnail": "https://cdn.discordapp.com/avatars/1498333732174827611/b07191c9a033296655b5409f1c10962c.webp", | ||||||
| "color": "#005fbe", | ||||||
| "category": "other", | ||||||
| "tags": ["bot", "automod", "logging"] | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| const presence = new Presence({ | ||
| clientId: '1498333732174827611', | ||
| }) | ||
|
|
||
| const browsingTimestamp = Math.floor(Date.now() / 1000) | ||
|
|
||
| enum ActivityAssets { | ||
| Logo = 'https://cdn.discordapp.com/avatars/1498333732174827611/b07191c9a033296655b5409f1c10962c.webp', | ||
Check failureCode scanning / PMD Makes sure all images (logo and URLs) are exactly 512x512 pixels Error
Image URL dimensions must be exactly 512x512 pixels, got 128x128 for URL: https://cdn.discordapp.com/avatars/1498333732174827611/b07191c9a033296655b5409f1c10962c.webp
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| } | ||
|
|
||
| presence.on('UpdateData', async () => { | ||
| const { hostname, pathname } = document.location | ||
|
|
||
| const presenceData: PresenceData = { | ||
| largeImageKey: ActivityAssets.Logo, | ||
| details: 'Böngészik', | ||
| startTimestamp: browsingTimestamp, | ||
| } | ||
|
|
||
| // lumex.hu | ||
| if (hostname.includes('lumex.hu')) { | ||
| if (pathname === '/' || pathname === '') { | ||
| presenceData.state = 'Főoldalt Nézi' | ||
| } | ||
| else if (pathname.includes('/partnereink')) { | ||
| presenceData.state = 'Partnerek Oldalt Nézi' | ||
| } | ||
| else if (pathname.includes('/tamogatas')) { | ||
| presenceData.state = 'Kapcsolat Oldalt Nézi' | ||
| } | ||
| else if (pathname.includes('/aszf')) { | ||
| presenceData.state = 'Az Áltanlános Szerződési Feltételeket Nézi' | ||
| } | ||
| else if (pathname.includes('/privacypolicy')) { | ||
| presenceData.state = 'Az Adatvédelemi Szabályzatot Nézi' | ||
| } | ||
| else if (pathname.includes('/404')) { | ||
| presenceData.state = '404 Oldalt Nézi' | ||
| } | ||
| } | ||
|
|
||
| // status.lumex.hu | ||
| if (hostname.includes('status.lumex.hu')) { | ||
| presenceData.state = 'Státusz Oldal Megtekintése' | ||
| } | ||
|
|
||
| if (presenceData.state) | ||
| presence.setActivity(presenceData) | ||
| else presence.clearActivity() | ||
| }) | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,31 @@ | ||||||
| { | ||||||
| "$schema": "https://schemas.premid.app/metadata/1.16", | ||||||
| "apiVersion": 1, | ||||||
| "author": { | ||||||
| "id": "1288129332455149619", | ||||||
| "name": "Daniyt_th" | ||||||
| }, | ||||||
| "contributors": [ | ||||||
| { | ||||||
| "id": "1189975703924510740", | ||||||
| "name": "𝔻𝕚𝕘𝕚 𝔽𝕒𝕟" | ||||||
| } | ||||||
| ], | ||||||
| "service": "Mr. Monkey", | ||||||
| "description": { | ||||||
| "en": "Hi! I'm mainly a moderation bot here to help you build the community.", | ||||||
| "hu": "Szia! Én egy főleg moderációs bot vagyok aki segít neked a közösség építésében." | ||||||
| }, | ||||||
| "url": [ | ||||||
| "mrmonkey.netlify.app", | ||||||
| "digifan.betteruptime.com", | ||||||
| "mrmonkey.upbot.app" | ||||||
| ], | ||||||
| "regExp": "^https?://([a-z0-9-]+\\.)*(mrmonkey\\.netlify\\.app|digifan\\.betteruptime\\.com|mrmonkey\\.upbot\\.app)/", | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| "version": "1.0.0", | ||||||
| "logo": "https://images-ext-1.discordapp.net/external/E5yBFq3coMlNuLztcRhixrIDMmfKOTL4aomRrTtbCLw/https/cdn.discordapp.com/avatars/1375761784060772432/9979fc9e1916697c0105b7385e76adb2.webp", | ||||||
Check failureCode scanning / PMD Makes sure all images (logo and URLs) are exactly 512x512 pixels Error
Image URL dimensions must be exactly 512x512 pixels, got 128x128 for URL: https://images-ext-1.discordapp.net/external/E5yBFq3coMlNuLztcRhixrIDMmfKOTL4aomRrTtbCLw/https/cdn.discordapp.com/avatars/1375761784060772432/9979fc9e1916697c0105b7385e76adb2.webp
|
||||||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||||||
| "thumbnail": "https://images-ext-1.discordapp.net/external/E5yBFq3coMlNuLztcRhixrIDMmfKOTL4aomRrTtbCLw/https/cdn.discordapp.com/avatars/1375761784060772432/9979fc9e1916697c0105b7385e76adb2.webp", | ||||||
| "color": "#dedcde", | ||||||
| "category": "other", | ||||||
| "tags": ["bot", "automod", "logging", "ticket"] | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| import { Assets } from 'premid' | ||
|
|
||
| const presence = new Presence({ | ||
| clientId: '1375761784060772432', // Mr. Monkey ID | ||
| }) | ||
|
|
||
| const browsingTimestamp = Math.floor(Date.now() / 1000) | ||
|
|
||
| enum ActivityAssets { | ||
| Logo = 'https://images-ext-1.discordapp.net/external/E5yBFq3coMlNuLztcRhixrIDMmfKOTL4aomRrTtbCLw/https/cdn.discordapp.com/avatars/1375761784060772432/9979fc9e1916697c0105b7385e76adb2.webp', | ||
Check failureCode scanning / PMD Makes sure all images (logo and URLs) are exactly 512x512 pixels Error
Image URL dimensions must be exactly 512x512 pixels, got 128x128 for URL: https://images-ext-1.discordapp.net/external/E5yBFq3coMlNuLztcRhixrIDMmfKOTL4aomRrTtbCLw/https/cdn.discordapp.com/avatars/1375761784060772432/9979fc9e1916697c0105b7385e76adb2.webp
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| } | ||
|
|
||
| presence.on('UpdateData', async () => { | ||
| const { hostname, pathname } = document.location | ||
|
|
||
| const presenceData: PresenceData = { | ||
| largeImageKey: ActivityAssets.Logo, | ||
| startTimestamp: browsingTimestamp, | ||
| smallImageKey: Assets.Play, | ||
| details: 'Böngészik', | ||
| } | ||
|
|
||
| // mrmonkey.netlify.app | ||
| if (hostname.includes('mrmonkey.netlify.app')) { | ||
| // Itt fogod megadni a pathname-eket | ||
| if (pathname === '/' || pathname === '') { | ||
| presenceData.state = 'Főoldalt Nézi' | ||
| } | ||
| else if (pathname.includes('privacy')) { | ||
| presenceData.state = 'Az Adatvédelemi Szabályzatot Olvassa.' | ||
| } | ||
| else if (pathname.includes('terms')) { | ||
| presenceData.state = 'A Szerzőfési Feltételeket Olvassa.' | ||
| } | ||
| } | ||
|
|
||
| // digifan.betteruptime.com | ||
| else if (hostname.includes('digifan.betteruptime.com')) { | ||
| presenceData.state = 'Státusz Oldalt Nézi' | ||
| } | ||
|
|
||
| // mrmonkey.upbot.app | ||
| else if (hostname.includes('mrmonkey.upbot.app')) { | ||
| presenceData.state = 'Bot Státuszát Nézi' | ||
| } | ||
|
|
||
| if (presenceData.state) | ||
| presence.setActivity(presenceData) | ||
| else | ||
| presence.clearActivity() | ||
| }) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| { | ||
| "$schema": "https://schemas.premid.app/metadata/1.16", | ||
| "apiVersion": 1, | ||
| "author": { | ||
| "id": "1288129332455149619", | ||
| "name": "Daniyt_th" | ||
| }, | ||
| "contributors": [ | ||
| { "id": "974010025003614242", | ||
Check failureCode scanning / ESLint enforce consistent line breaks inside braces Error
Expected a line break after this opening brace.
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| "name": "「 ✦ { Dantix } ✦ 」「 ˖᯽ ˖ 」" | ||
Check failureCode scanning / ESLint Having line breaks styles to object, array and named imports Error
Should not have line breaks between items, in node JSONObjectExpression
Check failureCode scanning / ESLint Having line breaks styles to object, array and named imports Error
Should not have line breaks between items, in node JSONObjectExpression
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| } | ||
| ], | ||
| "service": "Nova Cat", | ||
| "description": { | ||
| "en": "A bot with moderation, youtube/twitch/tiktok notifier.", | ||
| "hu": "Egy bot moderációval, youtube/twitch/tiktok értesítővel." | ||
| }, | ||
| "url": [ | ||
| "novacat.eu", | ||
Check failureCode scanning / PMD Makes sure all images (logo and URLs) are exactly 512x512 pixels Error
Image URL dimensions must be exactly 512x512 pixels, got 128x128 for URL: https://cdn.discordapp.com/avatars/1286628372033830934/0d15baabd2b461341345a896e3ba64ec.webp
|
||
| "status.novacat.eu" | ||
| ], | ||
| "regExp": "^https?://([a-z0-9-]+\\.)*(novacat\\.eu|status\\.novacat\\.eu|v2\\.status\\.novacat\\.eu)/", | ||
| "version": "1.0.0", | ||
| "logo": "https://cdn.discordapp.com/avatars/1286628372033830934/0d15baabd2b461341345a896e3ba64ec.webp", | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| "thumbnail": "https://cdn.discordapp.com/banners/1286628372033830934/a_987ad9224a57104525a97dda9c6d01f1.gif", | ||
| "color": "#270a48", | ||
| "category": "other", | ||
| "tags": ["bot", "moderation", "ticket", "automod"], | ||
Check failureCode scanning / ESLint validate object with JSON Schema. Error
"settings[0].icon" must match pattern "^fa([bsdrlt]|(-)) fa-[0-9a-z-]+$".
|
||
| "settings": [ | ||
| { | ||
| "id": "lang", | ||
| "title": "Language", | ||
| "icon": "mdi-translate", | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| "values": ["English", "Hungarian"], | ||
| "value": 0 | ||
| } | ||
| ] | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update version