simply-xp 1.3.5-beta-6 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -56
- package/index.d.ts +1 -0
- package/package.json +54 -50
- package/simplyxp.js +33 -31
- package/src/addLevel.js +66 -66
- package/src/addXP.js +104 -103
- package/src/charts.js +92 -92
- package/src/connect.js +21 -22
- package/src/create.js +28 -28
- package/src/fetch.js +74 -74
- package/src/leaderboard.js +51 -52
- package/src/lvlRole.js +53 -53
- package/src/models/level.js +10 -10
- package/src/models/lvlrole.js +8 -8
- package/src/rank.js +295 -294
- package/src/reset.js +22 -22
- package/src/roleSetup.js +121 -121
- package/src/setLevel.js +42 -70
- package/src/setXP.js +23 -51
- package/.github/CODE_OF_CONDUCT.md +0 -128
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -31
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/SECURITY.md +0 -25
- package/.github/pull_request_template.md +0 -8
- package/.github/workflows/codeql-analysis.yml +0 -71
- package/.idea/discord.xml +0 -7
- package/.idea/jsLibraryMappings.xml +0 -6
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/simply-xp.iml +0 -9
- package/.idea/workspace.xml +0 -55
package/.github/SECURITY.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
Use this section to tell people about which versions of your project are
|
|
6
|
-
currently being supported with security updates.
|
|
7
|
-
|
|
8
|
-
| Version | Supported |
|
|
9
|
-
| ------- | ------------------ |
|
|
10
|
-
| 2.x.x (djs v13) | :white_check_mark: |
|
|
11
|
-
| 1.0.88 (djs v12) | :x: |
|
|
12
|
-
|
|
13
|
-
### Discord.js
|
|
14
|
-
| Version | Supported |
|
|
15
|
-
| ------- | ------------------ |
|
|
16
|
-
| 13.x.x | :white_check_mark: |
|
|
17
|
-
| 12.5.x | :x:
|
|
18
|
-
|
|
19
|
-
## Reporting a Vulnerability
|
|
20
|
-
|
|
21
|
-
Use this section to tell people how to report a vulnerability.
|
|
22
|
-
|
|
23
|
-
Tell them where to go, how often they can expect to get an update on a
|
|
24
|
-
reported vulnerability, what to expect if the vulnerability is accepted or
|
|
25
|
-
declined, etc.
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
-
# to commit it to your repository.
|
|
3
|
-
#
|
|
4
|
-
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
-
# or to provide custom queries or build logic.
|
|
6
|
-
#
|
|
7
|
-
# ******** NOTE ********
|
|
8
|
-
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
-
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
-
# supported CodeQL languages.
|
|
11
|
-
#
|
|
12
|
-
name: "CodeQL"
|
|
13
|
-
|
|
14
|
-
on:
|
|
15
|
-
push:
|
|
16
|
-
branches: [ main ]
|
|
17
|
-
pull_request:
|
|
18
|
-
# The branches below must be a subset of the branches above
|
|
19
|
-
branches: [ main ]
|
|
20
|
-
schedule:
|
|
21
|
-
- cron: '29 14 * * 3'
|
|
22
|
-
|
|
23
|
-
jobs:
|
|
24
|
-
analyze:
|
|
25
|
-
name: Analyze
|
|
26
|
-
runs-on: ubuntu-latest
|
|
27
|
-
permissions:
|
|
28
|
-
actions: read
|
|
29
|
-
contents: read
|
|
30
|
-
security-events: write
|
|
31
|
-
|
|
32
|
-
strategy:
|
|
33
|
-
fail-fast: false
|
|
34
|
-
matrix:
|
|
35
|
-
language: [ 'javascript' ]
|
|
36
|
-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
|
37
|
-
# Learn more:
|
|
38
|
-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
|
39
|
-
|
|
40
|
-
steps:
|
|
41
|
-
- name: Checkout repository
|
|
42
|
-
uses: actions/checkout@v2
|
|
43
|
-
|
|
44
|
-
# Initializes the CodeQL tools for scanning.
|
|
45
|
-
- name: Initialize CodeQL
|
|
46
|
-
uses: github/codeql-action/init@v1
|
|
47
|
-
with:
|
|
48
|
-
languages: ${{ matrix.language }}
|
|
49
|
-
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
50
|
-
# By default, queries listed here will override any specified in a config file.
|
|
51
|
-
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
52
|
-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
53
|
-
|
|
54
|
-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
55
|
-
# If this step fails, then you should remove it and run the build manually (see below)
|
|
56
|
-
- name: Autobuild
|
|
57
|
-
uses: github/codeql-action/autobuild@v1
|
|
58
|
-
|
|
59
|
-
# ℹ️ Command-line programs to run using the OS shell.
|
|
60
|
-
# 📚 https://git.io/JvXDl
|
|
61
|
-
|
|
62
|
-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
63
|
-
# and modify them (or add more) to build your code if your project
|
|
64
|
-
# uses a compiled language
|
|
65
|
-
|
|
66
|
-
#- run: |
|
|
67
|
-
# make bootstrap
|
|
68
|
-
# make release
|
|
69
|
-
|
|
70
|
-
- name: Perform CodeQL Analysis
|
|
71
|
-
uses: github/codeql-action/analyze@v1
|
package/.idea/discord.xml
DELETED
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/simply-xp.iml" filepath="$PROJECT_DIR$/.idea/simply-xp.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/.idea/simply-xp.iml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|
package/.idea/workspace.xml
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="AutoImportSettings">
|
|
4
|
-
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="38c41a1e-8ae9-4576-bb82-726fd121cb3f" name="Changes" comment="" />
|
|
8
|
-
<option name="SHOW_DIALOG" value="false" />
|
|
9
|
-
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
|
-
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
11
|
-
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
12
|
-
</component>
|
|
13
|
-
<component name="MarkdownSettingsMigration">
|
|
14
|
-
<option name="stateVersion" value="1" />
|
|
15
|
-
</component>
|
|
16
|
-
<component name="ProblemsViewState">
|
|
17
|
-
<option name="selectedTabId" value="CurrentFile" />
|
|
18
|
-
</component>
|
|
19
|
-
<component name="ProjectId" id="2KCg5I8izYGDdAKM7OTNH6Qxtkl" />
|
|
20
|
-
<component name="ProjectViewState">
|
|
21
|
-
<option name="hideEmptyMiddlePackages" value="true" />
|
|
22
|
-
<option name="showLibraryContents" value="true" />
|
|
23
|
-
</component>
|
|
24
|
-
<component name="PropertiesComponent"><![CDATA[{
|
|
25
|
-
"keyToString": {
|
|
26
|
-
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
27
|
-
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
28
|
-
"WebServerToolWindowFactoryState": "false",
|
|
29
|
-
"javascript.nodejs.core.library.configured.version": "18.12.1",
|
|
30
|
-
"javascript.nodejs.core.library.typings.version": "18.11.18",
|
|
31
|
-
"node.js.detected.package.eslint": "true",
|
|
32
|
-
"node.js.detected.package.tslint": "true",
|
|
33
|
-
"node.js.selected.package.eslint": "(autodetect)",
|
|
34
|
-
"node.js.selected.package.tslint": "(autodetect)",
|
|
35
|
-
"nodejs_package_manager_path": "npm",
|
|
36
|
-
"ts.external.directory.path": "C:\\Program Files\\JetBrains\\IntelliJ IDEA 2022.3.1\\plugins\\javascript-impl\\jsLanguageServicesImpl\\external",
|
|
37
|
-
"vue.rearranger.settings.migration": "true"
|
|
38
|
-
}
|
|
39
|
-
}]]></component>
|
|
40
|
-
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
41
|
-
<component name="TaskManager">
|
|
42
|
-
<task active="true" id="Default" summary="Default task">
|
|
43
|
-
<changelist id="38c41a1e-8ae9-4576-bb82-726fd121cb3f" name="Changes" comment="" />
|
|
44
|
-
<created>1673483793432</created>
|
|
45
|
-
<option name="number" value="Default" />
|
|
46
|
-
<option name="presentableId" value="Default" />
|
|
47
|
-
<updated>1673483793432</updated>
|
|
48
|
-
<workItem from="1673483796080" duration="4036000" />
|
|
49
|
-
</task>
|
|
50
|
-
<servers />
|
|
51
|
-
</component>
|
|
52
|
-
<component name="TypeScriptGeneratedFilesManager">
|
|
53
|
-
<option name="version" value="3" />
|
|
54
|
-
</component>
|
|
55
|
-
</project>
|