-
-
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
Open
daniytth
wants to merge
35
commits into
PreMiD:main
Choose a base branch
from
daniytth:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 33 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
27f1462
Ignore for package-lock.json files.
daniytth 012b0e4
Dashboard integration. Just now docs.
daniytth 8e9e3fd
Rework.
daniytth 90584f1
Just ingoration for package-lock.json file.
daniytth ba6a0fb
Added hun Description for Discord.
daniytth 0edf1e3
Language update for Sapphire.
daniytth 6b68afb
Nova cat presence. :D
daniytth 5348d97
Lumex. Only hungarian strings.
daniytth 95c9218
Mr. Monkey Activity done.
daniytth 13fe431
Ghosty is Done.
daniytth c62d8e8
Sapphire Logo and Thumbnail update.
daniytth 078ec00
RRHosting Done.
daniytth 2eb2e2d
Deletion of Sapphire.
daniytth e68b20b
Ghosty update-
daniytth 929dfbf
Lumex update.
daniytth e9eb862
Sorting change.
daniytth 0ae502f
Formatting fixes.
daniytth fe66a0c
Formatting fixes.
daniytth 67db262
Format change. And updated to 512x512,
daniytth 30b6ac4
Icon change.
daniytth 33b7c45
Language sorting fix.
daniytth 7641148
Formatting fix.
daniytth 8579237
Image fix.
daniytth 7300597
Image link changbe.
daniytth 417de7f
Image change again.
daniytth d8d6c46
Formatting fixes. Again
daniytth bd96b57
Formatting fixes.
daniytth a43c7b9
Icon change for language selection.
daniytth 5e0f5c5
Formatting fixes, last I think.
daniytth 5d4a549
Merge branch 'main' into main
daniytth 1401db2
Images update.
daniytth 84e8d4d
Removeal Mr. Monkey and RRHosting update.
daniytth 68f2848
Image update for Lumex.
daniytth 2909932
Image Update
daniytth 60c8b0b
Last image update.
daniytth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,3 +39,5 @@ pmd-results.sarif | |
|
|
||
| # Coverage files | ||
| coverage | ||
| package-lock.json | ||
| package-lock.json | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| }, | ||
| "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" | ||
| ], | ||
| "regExp": "^https?:[/][/](ghostybot[.]hu|ghosty[.]instatus[.]com|ghostydcbot[.]hu)[/]", | ||
| "version": "1.0.0", | ||
| "logo": "https://i.postimg.cc/26LRP0Vw/b956a4c02b9dcdb27a47fc1c41ba047a-(Egyeni).jpg", | ||
| "thumbnail": "https://i.postimg.cc/L8pcH5yr/image.png", | ||
| "color": "#acaea4", | ||
| "category": "other", | ||
| "tags": [ | ||
| "bot", | ||
| "automod", | ||
| "logging", | ||
| "security", | ||
| "hungarian" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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://i.postimg.cc/26LRP0Vw/b956a4c02b9dcdb27a47fc1c41ba047a-(Egyeni).jpg', | ||
| } | ||
|
|
||
| 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() | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "$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" | ||
| ], | ||
| "regExp": "^https?:[/][/]([a-z0-9-]+[.])*(lumex[.]hu|status[.]lumex[.]hu)[/]", | ||
| "version": "1.0.0", | ||
| "logo": "https://i.postimg.cc/3r6yb5L3/Adobe-Express-file-(1).jpg", | ||
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 800x800 for URL: https://i.postimg.cc/3r6yb5L3/Adobe-Express-file-(1).jpg
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| "thumbnail": "https://i.postimg.cc/J7XYGmBm/image.png", | ||
| "color": "#005fbe", | ||
| "category": "other", | ||
| "tags": [ | ||
| "bot", | ||
| "automod", | ||
| "logging" | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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://i.postimg.cc/85fQqZjZ/b07191c9a033296655b5409f1c10962c-(Egyeni).jpg', | ||
| } | ||
|
|
||
| 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() | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "$schema": "https://schemas.premid.app/metadata/1.16", | ||
| "apiVersion": 1, | ||
| "author": { | ||
| "id": "1288129332455149619", | ||
| "name": "Daniyt_th" | ||
| }, | ||
| "contributors": [ | ||
| { | ||
| "id": "974010025003614242", | ||
| "name": "「 ✦ { Dantix } ✦ 」「 ˖᯽ ˖ 」" | ||
|
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", | ||
| "status.novacat.eu" | ||
| ], | ||
| "regExp": "^https?://([a-z0-9-]+\\.)*(novacat\\.eu|status\\.novacat\\.eu|v2\\.status\\.novacat\\.eu)/", | ||
| "version": "1.0.0", | ||
| "logo": "https://i.postimg.cc/SsYFwgJd/0d15baabd2b461341345a896e3ba64ec-(Egyeni).jpg", | ||
| "thumbnail": "https://cdn.discordapp.com/banners/1286628372033830934/a_987ad9224a57104525a97dda9c6d01f1.gif", | ||
| "color": "#270a48", | ||
| "category": "other", | ||
| "tags": [ | ||
| "bot", | ||
| "moderation", | ||
| "ticket", | ||
| "automod" | ||
| ], | ||
| "settings": [ | ||
| { | ||
| "id": "lang", | ||
| "title": "Language", | ||
| "icon": "fas fa-language", | ||
| "values": [ | ||
| "English", | ||
| "Hungarian" | ||
| ], | ||
| "value": 0 | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| import { Assets } from 'premid' | ||
|
|
||
| const presence = new Presence({ | ||
| clientId: '1286628372033830934', | ||
| }) | ||
|
|
||
| const browsingTimestamp = Math.floor(Date.now() / 1000) | ||
|
|
||
| enum ActivityAssets { | ||
| Logo = 'https://i.postimg.cc/SsYFwgJd/0d15baabd2b461341345a896e3ba64ec-(Egyeni).jpg', | ||
| } | ||
|
|
||
| const langKeys = { | ||
| details: { | ||
| website: { | ||
| en: 'Browsing', | ||
| hu: 'Böngészik', | ||
| }, | ||
| }, | ||
| state: { | ||
| home: { | ||
| en: 'Viewing Home Page', | ||
| hu: 'Főoldalt Nézi', | ||
| }, | ||
| status: { | ||
| en: 'Viewing Status Page', | ||
| hu: 'Státusz Oldalt Nézi', | ||
| }, | ||
| statusV2: { | ||
| en: 'Viewing Beta Status Page', | ||
| hu: 'Béta Státusz Oldalt Nézi', | ||
| }, | ||
| }, | ||
| } | ||
|
|
||
| presence.on('UpdateData', async () => { | ||
| const { hostname, pathname } = document.location | ||
|
|
||
| const langSetting = await presence.getSetting<number>('lang') | ||
| const lang = langSetting === 1 ? 'hu' : 'en' | ||
|
|
||
| const presenceData: PresenceData = { | ||
| largeImageKey: ActivityAssets.Logo, | ||
| smallImageKey: Assets.Play, | ||
| startTimestamp: browsingTimestamp, | ||
| details: langKeys.details.website[lang], | ||
| } | ||
|
|
||
| // Főoldal | ||
| if (hostname === 'novacat.eu' || hostname === 'www.novacat.eu') { | ||
| if (pathname === '/' || pathname.length <= 1) { | ||
| presenceData.state = langKeys.state.home[lang] | ||
| } | ||
| } | ||
|
|
||
| // Státusz oldal | ||
| else if (hostname === 'status.novacat.eu') { | ||
| presenceData.state = langKeys.state.status[lang] | ||
| } | ||
|
|
||
| if (presenceData.state) | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| presence.setActivity(presenceData) | ||
| else | ||
| presence.clearActivity() | ||
| }) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" | ||
| }, | ||
| "service": "RRHosting", | ||
| "description": { | ||
| "de": "Ein Hosting-Anbieter stellt kostenlose Discord-Bot- und Datenbankdienste zur Verfügung.", | ||
| "en": "A hosting provides free discord bot and database services.", | ||
| "hu": "Egy hosting ami ingyenes discord bot és adatbázis kínál." | ||
| }, | ||
| "url": [ | ||
| "rrhosting.eu", | ||
| "panel.rrhosting.eu" | ||
| ], | ||
| "regExp": "^https?:\\/\\/(?:www\\.)?(rrhosting\\.eu|panel\\.rrhosting\\.eu)\\/.*$", | ||
| "version": "1.0.0", | ||
| "logo": "https://i.postimg.cc/3R05PtdZ/79d084ccc1ea926d2aacb6b5fe300e96-(Egyeni).jpg", | ||
| "thumbnail": "https://cdn.discordapp.com/banners/1248748513769296034/ffa8aa440ab04679e2c81ec717b74d3a.webp", | ||
| "color": "#000000", | ||
| "category": "other", | ||
| "tags": ["hosting"], | ||
| "settings": [ | ||
| { | ||
| "id": "lang", | ||
| "title": "Language", | ||
| "icon": "fas fa-language", | ||
| "values": [ | ||
| "English", | ||
| "Hungarian", | ||
| "German" | ||
| ], | ||
| "value": 0 | ||
| } | ||
| ] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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