discord-xp-fork 1.2.2 → 1.2.4

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.
Files changed (3) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +10 -8
  3. package/package.json +3 -3
package/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2019 MrAugu
4
+ Copyright (c) 2026 woomy
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,21 +1,23 @@
1
1
  # Discord-Xp-Fork
2
- - Original code made by MrAugu and is located at <a href="https://github.com/MrAugu/discord-xp">this Github Repository</a>. This is a fork of this code, made to address some issues with the original as a result of the time that has passed since its last update.
2
+ - Original code made by MrAugu and is located at [this Github Repository](https://github.com/MrAugu/discord-xp). This is a fork of that code, made to address some issues with the original as a result of the time that has passed since its last update.
3
3
  - A lightweight and easy to use xp framework for discord bots, uses MongoDB.
4
- - If you need help feel free to join our <a href="https://discord.gg/aP9UYfaFa4">discord server</a> to talk and help you with your code.
5
- - If you encounter any of those fell free to open an issue in our <a href="https://github.com/MrAugu/discord-xp/issues">github repository</a>.
6
4
 
7
5
  # Download & Update
8
6
  You can download it from npm:
9
7
  ```cli
10
- npm i discord-xp
8
+ npm i discord-xp-fork
11
9
  ```
12
10
  You can update to a newer version to receive updates using npm.
13
11
  ```cli
14
- npm update discord-xp
12
+ npm update discord-xp-fork
15
13
  ```
16
14
 
17
15
  # Changelog
18
- - **21 April 2025** (v1.2.2) - version bump to update readme on npmjs
16
+ - **17 November 2026** (v1.2.4) - updated to latest version of Mongoose 8
17
+
18
+ - **21 April 2025** (v1.2.3) - updated readme to make examples relevant to this fork and to remove links to the original creator's discord and github.
19
+
20
+ - **21 April 2025** (v1.2.2) - version bump to update readme on npmjs.
19
21
 
20
22
  - **21 April 2025** (v1.2.1) - renamed to "discord-xp-fork", changed repo links to point to woomy/discord-xp on codeberg, updated readme to state that this is a fork of the original and to give credit to the original creator.
21
23
 
@@ -34,7 +36,7 @@ npm update discord-xp
34
36
  - **16 July 2020** - Added `xpFor` method to calculate xp required for a specific level.
35
37
  ```js
36
38
  /* xpFor Example */
37
- const Levels = require("discord-xp");
39
+ const Levels = require("discord-xp-fork");
38
40
  // Returns the xp required to reach level 30.
39
41
  var xpRequired = Levels.xpFor(30);
40
42
 
@@ -44,7 +46,7 @@ console.log(xpRequired); // Output: 90000
44
46
  # Setting Up
45
47
  First things first, we include the module into the project.
46
48
  ```js
47
- const Levels = require("discord-xp");
49
+ const Levels = require("discord-xp-fork");
48
50
  ```
49
51
  After that, you need to provide a valid mongo database url, and set it. You can do so by:
50
52
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-xp-fork",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "A lightweight and easy to use economy framework for discord bots, uses MongoDB.",
5
5
  "keywords": [
6
6
  "discord",
@@ -29,7 +29,7 @@
29
29
  "url": "git+https://codeberg.org/woomy/discord-xp"
30
30
  },
31
31
  "license": "MIT",
32
- "author": "MrAugu, woomyboi",
32
+ "author": "MrAugu, woomy",
33
33
  "type": "commonjs",
34
34
  "main": "index.js",
35
35
  "types": "./index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "test": "echo \"Error: no test specified\" && exit 1"
41
41
  },
42
42
  "dependencies": {
43
- "mongoose": "^8.13.2"
43
+ "mongoose": "<9.0.0"
44
44
  },
45
45
  "devDependencies": {}
46
46
  }