aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2021-09-19 22:24:46 -0400
committerMax Isom <[email protected]>2021-09-19 22:24:46 -0400
commitdcac22832d02376c351603c944aabec17f2b7d1b (patch)
treea40097c3b7b3f8276fa2e0ccafd95d313474b84a /src/utils
parentfd782219eff8016a00e87f0c8e44af3a3ba74be6 (diff)
downloadmuse-dcac22832d02376c351603c944aabec17f2b7d1b.tar.xz
muse-dcac22832d02376c351603c944aabec17f2b7d1b.zip
Bump linter version
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/channels.ts4
-rw-r--r--src/utils/db.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/channels.ts b/src/utils/channels.ts
index f46e469..4c5b6b0 100644
--- a/src/utils/channels.ts
+++ b/src/utils/channels.ts
@@ -25,7 +25,7 @@ export const getMemberVoiceChannel = (member?: GuildMember): [VoiceChannel, numb
if (channel && channel.type === 'voice') {
return [
channel,
- getSizeWithoutBots(channel)
+ getSizeWithoutBots(channel),
];
}
@@ -46,7 +46,7 @@ export const getMostPopularVoiceChannel = (guild: Guild): [VoiceChannel, number]
voiceChannels.push({
channel: channel as VoiceChannel,
- n: size
+ n: size,
});
}
}
diff --git a/src/utils/db.ts b/src/utils/db.ts
index 4a15875..be42013 100644
--- a/src/utils/db.ts
+++ b/src/utils/db.ts
@@ -8,5 +8,5 @@ export const sequelize = new Sequelize({
database: 'muse',
storage: path.join(DATA_DIR, 'db.sqlite'),
models: [Cache, Settings, Shortcut],
- logging: false
+ logging: false,
});