Skip to content
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

i dunno what happened here #50

Open
wants to merge 290 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
21bf2d5
Merge branch 'Pogy-Bot:main' into main
eYuM-coder Mar 9, 2023
4c9061d
Changed url to hcaptcha api
eYuM-coder Mar 9, 2023
af83ab2
Update clear.js
eYuM-coder Mar 10, 2023
6fe459b
added say slash command!
hotsu0p Dec 24, 2023
fff4773
yea ig
hotsu0p Dec 24, 2023
8e516b1
added users
hotsu0p Dec 24, 2023
861ac97
added fule
hotsu0p Dec 24, 2023
269d22a
✨commands page
hotsu0p Dec 31, 2023
eb632e5
removed somethings
hotsu0p Dec 31, 2023
21a2247
few things
hotsu0p Dec 24, 2023
967766f
Addded new page and yea
hotsu0p Dec 31, 2023
6f9a28a
minor update
Jan 3, 2024
4d77daa
Create config.json
eYuM-coder Jan 3, 2024
7b25825
Merge pull request #1 from eYuM-coder/eYuM-coder-patch-1
eYuM-coder Jan 3, 2024
9ceab9f
update
Jan 3, 2024
61dfde2
a
Jan 3, 2024
49d12f4
Slash Commands Update
Jan 3, 2024
bf65133
added and removed stuff
hotsu0p Jan 4, 2024
4f64c28
update language files for better grammar
Jan 4, 2024
f34e1f9
minor website update
Jan 4, 2024
05e99e7
a
Jan 4, 2024
5a1b632
Slash command update
Jan 4, 2024
911643c
few commits. added change log page
hotsu0p Jan 5, 2024
d95d83f
more updates
Jan 5, 2024
304dfc2
updated readme and gitignore
hotsu0p Jan 5, 2024
753def0
THIS ISNT FINISHED
hotsu0p Jan 7, 2024
73c5286
added small little things
hotsu0p Jan 7, 2024
0735d62
:sparkles: new stuff?
hotsu0p Jan 7, 2024
fb52050
Finnal command for now
hotsu0p Jan 7, 2024
f94329f
This is more commands
hotsu0p Jan 8, 2024
b98e84c
updated command
hotsu0p Jan 9, 2024
3b7a0a9
Merge branch 'main' of https://github.com/eYuM-coder/MEE8 into eYuM-c…
hotsu0p Jan 9, 2024
0f64192
Renamed stuff from MEE8 to Pogy
hotsu0p Jan 9, 2024
18a6000
Merge pull request #2 from hotsu0p/eYuM-coder-main
hotsu0p Jan 9, 2024
1fb43df
Update LICENSE
hotsu0p Jan 9, 2024
1a8fd83
push these commits
Jan 10, 2024
f321f4f
a
Jan 10, 2024
78c8c86
i added retard things and fixed retart erros . last commit of the day…
hotsu0p Jan 10, 2024
f533087
Merge pull request #3 from hotsu0p/eYuM-coder-main
hotsu0p Jan 10, 2024
cabaddb
updated level up message to embed
hotsu0p Jan 10, 2024
9aa1397
✨ Added stuff
hotsu0p Jan 10, 2024
4659eed
Update README.md
hotsu0p Jan 10, 2024
0a29cbf
Update ig . some dont work and im working on new button things so you…
hotsu0p Jan 10, 2024
e3aa62b
update
Jan 10, 2024
a04d5a6
this should work . will add more later. gonna be busu
hotsu0p Jan 10, 2024
182d92b
a
Jan 10, 2024
421136d
a
Jan 10, 2024
4e75e36
a
Jan 10, 2024
59e3560
Update replit.nix
eYuM-coder Jan 10, 2024
9d73637
Merge pull request #2 from eYuM-coder/eYuM-coder-patch-3
eYuM-coder Jan 10, 2024
c02190e
Delete .replit
eYuM-coder Jan 10, 2024
fb6c320
Delete replit.nix
eYuM-coder Jan 10, 2024
ebb6e31
a
Jan 10, 2024
417ed9f
a
Jan 10, 2024
edb9f25
So Vercel doesn't give up on exist
Jan 10, 2024
5a92507
more updates. calc doesnt relaly work. will fix later
hotsu0p Jan 11, 2024
45bc8fa
Merge branch commit '5a92507' of https://github.com/hotsu0p/Pogy into…
Jan 11, 2024
e9acd41
added cool new help menu button
hotsu0p Jan 11, 2024
ad7f6e1
Merge pull request #5 from hotsu0p/eYuM-coder-main
hotsu0p Jan 11, 2024
06cdd83
a
Jan 11, 2024
5bd2667
Merge branch 'main' of https://github.com/eYuM-coder/MEE8 into eYuM-c…
hotsu0p Jan 12, 2024
9ce445e
hmmm fix
hotsu0p Jan 12, 2024
93d11a8
Merge branch 'main' into eYuM-coder-mai2n
hotsu0p Jan 12, 2024
40ba8ad
✨ E yu m code
hotsu0p Jan 12, 2024
2f662ab
Create node.js.yml
eYuM-coder Jan 12, 2024
9b850d8
Merge pull request #3 from eYuM-coder/eYuM-coder-patch-4
eYuM-coder Jan 12, 2024
d57e55a
⚙️fix stuff
hotsu0p Jan 12, 2024
d274d64
⚙️updated gitignore
hotsu0p Jan 12, 2024
363ea08
✨ fixxed error again
hotsu0p Jan 12, 2024
81ead85
✨updated button
hotsu0p Jan 12, 2024
dc5d44c
✨Wow fixed levles - also removed cooldown du to it being to bugy
hotsu0p Jan 12, 2024
1a6d40b
✨enhance - made all rank code look better
hotsu0p Jan 12, 2024
a705cd8
✨added smol quote system
hotsu0p Jan 13, 2024
1e5cc95
ignore this one just saving - ;ast commit of the day
hotsu0p Jan 13, 2024
f2c0ed0
✨Game command
hotsu0p Jan 13, 2024
e441e63
✨new system
hotsu0p Jan 13, 2024
9b1b514
❌ in proggres commit
hotsu0p Jan 14, 2024
ce5930e
✨all doe for now
hotsu0p Jan 14, 2024
254ee27
New commmands!!!
hotsu0p Jan 15, 2024
73dbb08
✨new comand
hotsu0p Jan 15, 2024
9165590
New commmannd
hotsu0p Jan 15, 2024
c44ff2d
✨ smoll commmannd update
hotsu0p Jan 15, 2024
533968e
✨change image size
hotsu0p Jan 15, 2024
3142950
✨forated some files
hotsu0p Jan 15, 2024
ae8f005
✨ new rank disable per server
hotsu0p Jan 16, 2024
41da1f2
✨✨✨✨ new feature - when you get to a level it adds a role which can b…
hotsu0p Jan 18, 2024
167ecce
Added glow to footer and main page
hotsu0p Jan 18, 2024
1d48b07
Added lil dash thing
hotsu0p Jan 18, 2024
1929998
Added new theme and button
hotsu0p Jan 19, 2024
a0bef04
Button animmation
hotsu0p Jan 19, 2024
8913090
Remove .vscode folder
hotsu0p Jan 19, 2024
9e62774
readme
hotsu0p Jan 19, 2024
de023c8
docs???? + code format
hotsu0p Jan 19, 2024
9fa8e68
Readme
hotsu0p Jan 19, 2024
e3dd2c0
Merge branch 'main' of https://github.com/hotsu0p/Pogy
hotsu0p Jan 19, 2024
afd56cc
404 foramt
hotsu0p Jan 19, 2024
d64428a
✨Readme revamp
hotsu0p Jan 19, 2024
573c8fa
Merge branch 'main' of https://github.com/hotsu0p/Pogy
hotsu0p Jan 19, 2024
f68d69e
docs
hotsu0p Jan 20, 2024
704e011
Changed domain
hotsu0p Jan 20, 2024
691311c
Merge branch 'main' of https://github.com/hotsu0p/Pogy
hotsu0p Jan 20, 2024
ee48daa
Rename
hotsu0p Jan 20, 2024
f05f968
Fix page
hotsu0p Jan 20, 2024
e8ff34f
feat: Fix broken links file, fix typo file, add new message file a…
hotsu0p Jan 20, 2024
4f75018
New command and carigory
hotsu0p Jan 20, 2024
8fe753a
Merge branch 'main' of https://github.com/hotsu0p/Pogy
hotsu0p Jan 20, 2024
f1af2b0
New command - Maybe fix dash page?
hotsu0p Jan 22, 2024
b42e9d9
Update README.md
hotsu0p Jan 22, 2024
2453bdb
New command lol
hotsu0p Jan 23, 2024
dc86dc6
yes
hotsu0p Jan 23, 2024
a7ca288
Merge branch 'main' of https://github.com/hotsu0p/Pogy
hotsu0p Jan 23, 2024
9a85f6e
update
hotsu0p Jan 23, 2024
f594e9f
new commands
hotsu0p Jan 24, 2024
1dd6ce6
Merge branch 'main' of https://github.com/hotsu0p/Pogy
hotsu0p Jan 24, 2024
3a25b88
Update README.md
hotsu0p Jan 24, 2024
e0bd764
new command
hotsu0p Jan 24, 2024
4e1e8fd
Merge branch 'main' of https://github.com/hotsu0p/Pogy
hotsu0p Jan 24, 2024
44f107e
new econ command
Jan 24, 2024
841deea
VOice commands!
hotsu0p Jan 25, 2024
c5189f2
added so you can play song from youtube
hotsu0p Jan 25, 2024
b33a47b
lil fix
hotsu0p Jan 25, 2024
55ee54d
Update annd stop command
hotsu0p Jan 25, 2024
9bc607e
ok
Jan 25, 2024
fbb5595
new commands
hotsu0p Jan 27, 2024
9cad9a0
commands
hotsu0p Jan 28, 2024
853c386
a
Jan 28, 2024
a84c801
Merge branch 'main' of https://github.com/eYuM-coder/MEE8
Jan 28, 2024
e5459fc
a
Jan 28, 2024
2e8d230
addec aommnd
hotsu0p Jan 29, 2024
61cc173
new commnad
hotsu0p Jan 30, 2024
abcbd06
2 nnew commands
hotsu0p Jan 30, 2024
98955b9
bug fixes
Jan 30, 2024
c1b9568
Merge branch 'main' of https://github.com/eYuM-coder/MEE8
Jan 30, 2024
6256632
a
Jan 30, 2024
da771b3
a
Jan 30, 2024
3a87da9
skibidi
hotsu0p Jan 30, 2024
1fbf9bc
a
Jan 30, 2024
aabd5d6
update
Jan 30, 2024
800ca00
a
Jan 30, 2024
808759b
a
eYuM-coder Feb 4, 2024
41f9e8d
a
eYuM-coder Feb 20, 2024
367b82d
a
Mar 21, 2024
3e09b9d
a
Mar 23, 2024
c0564ba
a
Mar 23, 2024
7d8b702
a
eYuM-coder Mar 23, 2024
c33e58e
a
eYuM-coder Mar 23, 2024
2222452
fix config.json and package.json
eYuM-coder Aug 30, 2024
6ba835d
a
eYuM-coder Aug 30, 2024
b7cb878
update
eYuM-coder Aug 30, 2024
63bbc9c
a
eYuM-coder Aug 30, 2024
d4a009c
a
eYuM-coder Aug 30, 2024
6af44be
Update
eYuM-coder Aug 30, 2024
6635fac
Update
eYuM-coder Aug 30, 2024
3c30a1b
Update
eYuM-coder Aug 30, 2024
8243e99
Update
eYuM-coder Aug 30, 2024
3d33d13
Update
eYuM-coder Aug 30, 2024
06fc2f4
Update
eYuM-coder Aug 30, 2024
2ffa807
Mega Update
eYuM-coder Aug 31, 2024
158b93f
Update mainmembers.ejs
NYOGamesCOM Sep 12, 2024
cce0b9b
Merge pull request #4 from NYOGamesCOM/patch-2
eYuM-coder Sep 19, 2024
50585b1
Update dashboard.js
NYOGamesCOM Sep 20, 2024
927444b
Update maincommands.ejs
NYOGamesCOM Sep 20, 2024
f471fc9
Add files via upload
eYuM-coder Sep 29, 2024
3e8b82e
Merge pull request #6 from NYOGamesCOM/patch-4
eYuM-coder Sep 29, 2024
8e04148
Merge pull request #5 from NYOGamesCOM/patch-5
eYuM-coder Sep 29, 2024
6bca292
test
Sep 29, 2024
e651263
A
Sep 29, 2024
de5b9a9
merging
Sep 29, 2024
9d93342
Major update: Using env vars and config as names
Sep 30, 2024
748ac3a
Update config.json
Sep 30, 2024
5fdea20
Major update: Add select menu to help command
Oct 1, 2024
0fcb12c
Small update: Fixed Help Embed Colors
Oct 1, 2024
bc1dbe3
Small update: Fixed Help Embed Colors
Oct 1, 2024
b889c6e
Small update
Oct 1, 2024
7b55513
small little permissions.json file update
Oct 2, 2024
caba7c8
Why?
Oct 2, 2024
f48c50a
update ig?
Oct 2, 2024
d5e77f6
Dashboard update, template files formated
Oct 2, 2024
dc4b0d3
ncluding new owner
Oct 2, 2024
81d31a3
Slash Command mod action log test
Oct 2, 2024
c0d02ca
Slash Command mod action log test
Oct 2, 2024
2149e60
Slash Command mod action log test
Oct 2, 2024
af3203b
Slash Command mod action log test
Oct 2, 2024
5c51178
Slash Command mod action log test
Oct 2, 2024
a2b6da7
Automod Warn Removal Test!
Oct 7, 2024
17b19fe
Clear command bug fix
Oct 7, 2024
60fd025
Clear command bug fix
Oct 7, 2024
1a16146
bug fix
Oct 8, 2024
313f1ed
bug fix
Oct 8, 2024
6f3e352
bug fix
Oct 8, 2024
8dc2484
bug fix
Oct 8, 2024
a59278c
Update: Allow for more than 100 messages to be purged at one time
Oct 8, 2024
a69778d
Update: Some small little changes
Oct 8, 2024
2790815
Update: Some small little changes
Oct 8, 2024
4cc12e7
Update: Some small little changes
Oct 8, 2024
24a1ddd
Update: Some small little changes
Oct 8, 2024
35a8973
Update: Some small little changes
Oct 8, 2024
32dd925
Update: Some small little changes
Oct 8, 2024
742deac
Update: Some small little changes
Oct 8, 2024
06d0f2a
Update: Some small little changes
Oct 8, 2024
f647ffe
Update: Some small little changes
Oct 8, 2024
d03720e
Update: Some small little changes
Oct 8, 2024
d938447
a
eYuM-coder Oct 9, 2024
1c8a623
a
eYuM-coder Oct 9, 2024
5180afd
bug fixes?
eYuM-coder Oct 9, 2024
23ac8fd
yuh
Oct 10, 2024
35fef26
yuh
Oct 10, 2024
6468257
Reset author
Oct 10, 2024
578c766
Merge branch 'main' of https://github.com/eYuM-coder/MEE8
Oct 10, 2024
3a97a09
reupload replit stuff
Oct 10, 2024
9051586
bruh
eYuM-coder Oct 13, 2024
acfcae7
Merge branch 'main' of https://github.com/eYuM-coder/MEE8
eYuM-coder Oct 13, 2024
a13fe4a
okie dokie
eYuM-coder Oct 13, 2024
64f7b8f
a
eYuM-coder Oct 13, 2024
13e5f88
a
eYuM-coder Oct 13, 2024
6b7bd46
bruh
eYuM-coder Oct 13, 2024
d878bcb
Update
Nov 13, 2024
ffabd2e
bruh moment
Nov 13, 2024
d00c1d9
a
Nov 13, 2024
1fa134a
merp
Nov 14, 2024
db3eb71
Big update
Nov 14, 2024
4a6a484
Big update
Nov 14, 2024
8e7362d
update
Nov 19, 2024
e83566f
a
eYuM-coder Nov 22, 2024
957e833
a
Nov 22, 2024
6edc68a
Package Update
Nov 22, 2024
9d2efb8
dead bot.
Nov 28, 2024
b034bed
a
eYuM-coder Dec 5, 2024
fc3758c
a
eYuM-coder Dec 5, 2024
603ad13
a
Dec 5, 2024
8b7bdce
a
eYuM-coder Dec 5, 2024
07c3359
a
eYuM-coder Dec 6, 2024
484f194
a
eYuM-coder Dec 6, 2024
23f8cc0
Update config.json
eYuM-coder Dec 10, 2024
c2f4c33
a
eYuM-coder Dec 11, 2024
7c1a02a
Merge branch 'main' of https://github.com/eYuM-coder/MEE8
eYuM-coder Dec 11, 2024
9db5de2
a
eYuM-coder Dec 11, 2024
ebaac57
a
eYuM-coder Dec 11, 2024
617a856
hello
eYuM-coder Dec 11, 2024
d023eb5
Merge branch 'main' of https://github.com/eYuM-coder/MEE8
eYuM-coder Dec 11, 2024
ee03648
a
eYuM-coder Dec 11, 2024
ed2a6b5
a
eYuM-coder Dec 11, 2024
eb73e54
update
eYuM-coder Dec 11, 2024
b1751f1
a
eYuM-coder Dec 11, 2024
2229171
h
eYuM-coder Dec 11, 2024
5a259e8
I hate myself
eYuM-coder Dec 26, 2024
f112804
a
eYuM-coder Dec 27, 2024
6880e84
e
eYuM-coder Jan 6, 2025
03c7c35
a
eYuM-coder Jan 14, 2025
526a617
yes
eYuM-coder Feb 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .config/configstore/nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"lastCheck": 1704255450758
}
4 changes: 4 additions & 0 deletions .config/configstore/update-notifier-nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"optOut": false,
"lastUpdateCheck": 1704843103275
}
14 changes: 0 additions & 14 deletions .env.template

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

src/assets/logs/Pogy.log
config.json
node_modules
.env
package-lock.json
json.sqlite
mee8.log
src/assets/logs/Pogy.log
config.json
env.backups
replit_zip_error_log.txt
2 changes: 0 additions & 2 deletions .replit

This file was deleted.

1 change: 1 addition & 0 deletions .upm/store.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"db11a897daa420d50cfedc91ca012076","lockfileHash":"1a9d033bd68f7b96ddae4ab0f36f51d7","guessedImports":["discord-hybrid-sharding","dotenv","lodash","discord.js"],"guessedImportsHash":"7f757502b57cec8312468e559b643275"}}}
220 changes: 19 additions & 201 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,201 +1,19 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2021 peterhanania

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Copyright (c) 2025 Eyum Not Muye

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
63 changes: 63 additions & 0 deletions MEE8.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
const { Client, Collection } = require('discord.js')
const Util = require('./src/structures/Util.js')
const config = require('./config.json')
const fs = require('node:fs')
const path = require('node:path')
const { status } = config

module.exports = class PogyClient extends Client {
constructor(options = {}) {
super({
partials: ['MESSAGE', 'CHANNEL', 'REACTION', 'GUILD_MEMBER', 'USER'],
intents: [
'GUILDS',
'GUILD_MEMBERS',
'GUILD_MESSAGES',
'GUILD_EMOJIS_AND_STICKERS',
'GUILD_MESSAGE_REACTIONS',
'GUILD_VOICE_STATES',
'GUILD_PRESENCES',
],
allowedMentions: {
parse: ['roles', 'users'],
repliedUser: true,
},
presence: {
status: 'online',
activities: [
{
type: 'WATCHING',
name: status,
},
],
},
})
this.validate(options)
this.botCommands = new Collection()
this.slashCommands = new Collection()
this.botEvents = new Collection()
this.aliases = new Collection()
this.utils = require('./src/utils/utils.js')
this.mongoose = require('./src/utils/mongoose.js')
this.utils = new Util(this)
this.config = require('./config.json')
}

validate(options) {
if (typeof options !== 'object') throw new TypeError('Options should be a type of Object.')

if (!options.prefix) throw new Error('You must pass a prefix for the client.')
if (typeof options.prefix !== 'string')
throw new TypeError('Prefix should be a type of String.')
this.prefix = options.prefix
}

async start(token) {
require('./src/utils/prototypes.js')
await this.utils.loadCommands()
await this.utils.loadEvents()
await this.mongoose.init()
require('./src/handlers/Music_Handler.js')
this.login(token)
}
}
Loading