gubo-data-types 0.1.2 → 0.1.3

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.
@@ -3,6 +3,7 @@ export interface WelcomePluginConfig {
3
3
  channelId?: string | null;
4
4
  message?: string;
5
5
  useEmbed?: boolean;
6
+ embedColor?: string | null;
6
7
  imageUrl?: string | null;
7
8
  autoRoleIds?: string[];
8
9
  dmEnabled?: boolean;
@@ -2,8 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_WELCOME = void 0;
4
4
  const DEFAULT_WELCOME_MESSAGE = `{emoji:star} Welcome {{{user}}} to **{guild}**!
5
- Your user ID is \`{user.id}\`, and your full tag is **{user.tag}**.
6
- Your account, **{user.name}**, was created on **{user.createdAt}**, which was **{accountAge}** ago.
5
+
6
+ Your user ID is \`{user.id}\`, and your full tag is **{user.tag}**.
7
+ Your account, **{user.name}**, was created on **{user.createdAt}**, which was **{accountAge}** ago.
7
8
 
8
9
  We now have **{memberCount} members** in total (you’re member #**{memberIndex}**).
9
10
  Your highest role is **{topRole}**, and you currently have **{roleCount} roles**: {roles}.
@@ -15,16 +16,21 @@ The server ID is \`{guild.id}\`.
15
16
  Are you a bot? **{isBot}**
16
17
 
17
18
  We’re really glad to have you here {emoji:smile}!
18
- Check out {#1234567890} to get started, and drop by {channel:9876543210} to introduce yourself.
19
+
20
+ Check out {#1234567890} to get started, and drop by {channel:9876543210} to introduce yourself.
21
+
19
22
  {emoji:fire} Let the adventure begin!`;
20
23
  const DEFAULT_DM_MESSAGE = `{emoji:star} Welcome {{{user}}}!
21
- Your account **{user.name}** was created on **{user.createdAt}** ({accountAge} ago).
24
+
25
+ Your account **{user.name}** was created on **{user.createdAt}** ({accountAge} ago).
26
+
22
27
  We’re excited to have you in **{guild}** — check out {#1234567890} to get started! {emoji:fire}`;
23
28
  exports.DEFAULT_WELCOME = {
24
29
  enabled: false,
25
30
  channelId: null,
26
31
  message: DEFAULT_WELCOME_MESSAGE,
27
32
  useEmbed: false,
33
+ embedColor: 'Red',
28
34
  imageUrl: null,
29
35
  autoRoleIds: [],
30
36
  dmEnabled: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gubo-data-types",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Shared type definitions and defaults for GUBO Discord Bot (no firebase-admin dependency)",
5
5
  "license": "MIT",
6
6
  "private": false,