@duque.edits/sdk 0.2.2 → 0.2.21
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/dist/rest/Routes.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Routes = void 0;
|
|
4
4
|
exports.Routes = {
|
|
5
|
-
|
|
6
|
-
base:
|
|
5
|
+
base: "http://localhost:80/api/v1",
|
|
6
|
+
//base: "https://dpqd.shardweb.app/api/v1",
|
|
7
7
|
field: (field) => `/${field}`,
|
|
8
8
|
fields: (...fields) => `${fields.join("/")}`,
|
|
9
9
|
guilds: {
|
|
@@ -149,8 +149,11 @@ class GuildUser {
|
|
|
149
149
|
profile: {
|
|
150
150
|
avatarUrl: data.avatarUrl || this.profile.avatarUrl || "",
|
|
151
151
|
bannerUrl: data.bannerUrl || this.profile.bannerUrl || "",
|
|
152
|
-
bio: data.bio || this.profile.bio || "",
|
|
152
|
+
bio: data.bio || this.profile.bio || "Melhor da minha aldeia (use !bio para alterar)",
|
|
153
153
|
name: data.name || this.profile.name || "",
|
|
154
|
+
textColor: data.textColor || this.profile.textColor || "#ffffff",
|
|
155
|
+
primaryColor: data.primaryColor || this.profile.primaryColor || "#272727",
|
|
156
|
+
secondaryColor: data.secondaryColor || this.profile.secondaryColor || "#151515",
|
|
154
157
|
},
|
|
155
158
|
};
|
|
156
159
|
const route = Routes_1.Routes.guilds.users.update(this.manager.guild.id, this.id);
|
package/package.json
CHANGED