diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-03 15:04:14 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-03 15:04:14 -0400 |
commit | fc2910d79b0052c0d73f1c09151c3a65d79a7b30 (patch) | |
tree | 3c89a5ea50d757be7356e346fe51617b10b15fa4 /src/lib/extensions | |
parent | 3e845f120fa1bb0f38e54969238a4d27abad7098 (diff) | |
download | tanzanite-fc2910d79b0052c0d73f1c09151c3a65d79a7b30.tar.gz tanzanite-fc2910d79b0052c0d73f1c09151c3a65d79a7b30.tar.bz2 tanzanite-fc2910d79b0052c0d73f1c09151c3a65d79a7b30.zip |
fix price command and eval methods
Diffstat (limited to 'src/lib/extensions')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index f759d22..d9a96ba 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -1432,8 +1432,9 @@ export class BushClientUtil extends ClientUtil { // modified from https://stackoverflow.com/questions/31054910/get-functions-methods-of-a-class // answer by Bruno Grieder - public getMethods(obj: any): string { + public getMethods(_obj: any): string { let props: string[] = []; + let obj: any = new Object(_obj); do { const l = Object.getOwnPropertyNames(obj) |