diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-21 23:35:13 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-21 23:35:13 -0400 |
commit | 44521f4560dc8b0bab055685437d8fa65a34377f (patch) | |
tree | 4750c8cf696a2489964edc409e640f6792ed92b6 /src/commands/utilities | |
parent | a8b3f2d258d6ef19aeff2c9d60d6b08a91277b2b (diff) | |
download | tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.gz tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.bz2 tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.zip |
misc
Diffstat (limited to 'src/commands/utilities')
-rw-r--r-- | src/commands/utilities/activity.ts | 2 | ||||
-rw-r--r-- | src/commands/utilities/price.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/utilities/activity.ts b/src/commands/utilities/activity.ts index c3839e5..e2a3352 100644 --- a/src/commands/utilities/activity.ts +++ b/src/commands/utilities/activity.ts @@ -15,7 +15,7 @@ const activityMap = { function map(phase: string) { if (client.consts.regex.snowflake.test(phase)) return phase; - else if (Object.keys(activityMap).includes(phase)) return activityMap[phase as keyof typeof activityMap]; + else if (Reflect.has(activityMap, phase)) return activityMap[phase as keyof typeof activityMap]; else if (['yt', 'youtube'].includes(phase)) return activityMap['Watch Together']; else if (['chess', 'park'].includes(phase)) return activityMap['Chess in the Park']; else if (['poker'].includes(phase)) return activityMap['Poker Night']; diff --git a/src/commands/utilities/price.ts b/src/commands/utilities/price.ts index a012501..be3da8e 100644 --- a/src/commands/utilities/price.ts +++ b/src/commands/utilities/price.ts @@ -90,8 +90,6 @@ export default class PriceCommand extends BushCommand { ], clientPermissions: (m) => util.clientSendAndPermCheck(m, ['EMBED_LINKS'], true), userPermissions: [], - ratelimit: 4, - cooldown: 4000, typing: true }); } |