Skip to content

Commit 2f76ccb

Browse files
committed
feat(vcactivity): add aliases
1 parent dfc4ae9 commit 2f76ccb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/commands/util/vcactivity.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ const ALIASES = {
1111

1212
fishington: 'fishington',
1313
fish: 'fishington',
14+
'낚시': 'fishington',
1415

1516
pokernight: 'pokernight',
16-
poker: 'pokernight'
17+
poker: 'pokernight',
18+
'포커': 'pokernight'
1719
}
1820

1921
const APP = {
@@ -39,7 +41,7 @@ class VoiceActivityCommand extends Command {
3941
constructor (client) {
4042
super(client, {
4143
name: 'vcactivity',
42-
aliases: ['vcact', '음챗액티비티', 'ㅍㅊㅁㅊㅅ', 'ㅍㅊㅁㅊ샤퍄쇼', 'dmacotdorxlqlxl'],
44+
aliases: ['vcact', '음챗액티비티', '음성챗액티비티', '음성채팅액티비티', 'ㅍㅊㅁㅊㅅ', 'ㅍㅊㅁㅊ샤퍄쇼', 'dmacotdorxlqlxl', 'dmatjdcotdlrxlqlxl', 'dmatjdcoxlddorxlqlxl'],
4345
group: 'util',
4446
args: [
4547
{
@@ -61,7 +63,7 @@ class VoiceActivityCommand extends Command {
6163

6264
if (!vc.permissionsFor(client.user).has('CREATE_INSTANT_INVITE')) return msg.reply(t('commands.vcactivity.noPerms'))
6365

64-
const app = APP[query.args.activity]
66+
const app = APP[ALIASES[query.args.activity]]
6567
if (!app) return
6668

6769
// NOTE: raw request; can be broken on api breaking changes

0 commit comments

Comments
 (0)