aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-20 12:10:49 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-20 12:10:49 -0400
commitf2e5cfff7dc275bd93fac446a508b7d18ecd6c58 (patch)
tree96ce491a9390ee3d8159742a42d56a8d0aa2a446
parent25569f54a0a00f16d2e9fd608aaf6d76e39a5d74 (diff)
downloadtanzanite-f2e5cfff7dc275bd93fac446a508b7d18ecd6c58.tar.gz
tanzanite-f2e5cfff7dc275bd93fac446a508b7d18ecd6c58.tar.bz2
tanzanite-f2e5cfff7dc275bd93fac446a508b7d18ecd6c58.zip
fixes, more guild feature icons
-rw-r--r--lib/common/ButtonPaginator.ts7
-rw-r--r--lib/utils/BushConstants.ts6
-rw-r--r--package.json2
3 files changed, 7 insertions, 8 deletions
diff --git a/lib/common/ButtonPaginator.ts b/lib/common/ButtonPaginator.ts
index 92f3796..02c78ea 100644
--- a/lib/common/ButtonPaginator.ts
+++ b/lib/common/ButtonPaginator.ts
@@ -102,12 +102,7 @@ export class ButtonPaginator {
} else {
await interaction
?.update({
- content: `${
- this.text
- ? `${this.text}
-`
- : ''
- }Command closed by user.`,
+ content: `${this.text ? `${this.text}\n` : ''}Command closed by user.`,
embeds: [],
components: []
})
diff --git a/lib/utils/BushConstants.ts b/lib/utils/BushConstants.ts
index 090616c..d3089ec 100644
--- a/lib/utils/BushConstants.ts
+++ b/lib/utils/BushConstants.ts
@@ -292,10 +292,14 @@ export const mappings = deepLock({
[GuildFeature.Community]: { name: 'Community', important: false, emoji: '<:community:850786714271875094>', weight: 25 },
THREADS_ENABLED: {name: 'Threads Enabled', important: false, emoji: '<:threadsEnabled:869756035345317919>', weight: 26 },
THREADS_ENABLED_TESTING: {name: 'Threads Enabled Testing', important: false, emoji: null, weight: 27 },
- [GuildFeature.AnimatedBanner]: { name: 'Animated Banner', important: false, emoji: null, weight: 28 },
+ [GuildFeature.AnimatedBanner]: { name: 'Animated Banner', important: false, emoji: '<:animatedBanner:1010580022018449482>', weight: 28 },
[GuildFeature.HasDirectoryEntry]: { name: 'Has Directory Entry', important: true, emoji: null, weight: 29 },
[GuildFeature.Hub]: { name: 'Hub', important: true, emoji: null, weight: 30 },
[GuildFeature.LinkedToHub]: { name: 'Linked To Hub', important: true, emoji: null, weight: 31 },
+ TEXT_IN_VOICE_ENABLED: { name: 'Text In Voice Enabled', important: false, emoji: '<:textInVoiceEnabled:1010578210150424617>', weight: 32 },
+ AUTO_MODERATION: { name: 'Auto Moderation', important: false, emoji: '<:autoModeration:1010579417942200321>', weight: 33 },
+ MEMBER_PROFILES: { name: 'Member Profiles', important: false, emoji: '<:memberProfiles:1010580480409747547>', weight: 34 },
+ NEW_THREAD_PERMISSIONS: { name: 'New Thread Permissions', important: false, emoji: '<:newThreadPermissions:1010580968442171492>', weight: 35 },
},
regions: {
diff --git a/package.json b/package.json
index e203b87..0358079 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,7 @@
"build:tsc": "yarn rimraf dist && yarn tsc",
"build:tsc:no-emit": "yarn tsc --noEmit",
"build:keep": "yarn tsc",
- "start:raw": "node --enable-source-maps --experimental-json-modules --no-warnings --pending-deprecation dist/src/bot.js",
+ "start:raw": "node --enable-source-maps --experimental-json-modules --no-warnings dist/src/bot.js",
"start:esbuild": "yarn build:esbuild && yarn start:raw",
"start": "yarn build:tsc && yarn start:raw",
"start:keep": "yarn build:keep && yarn start:raw",