File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ const CRUNCHBASE_IMAGE_CDN =
19
19
20
20
const getCompanyFindEmbed = async (
21
21
client : SapphireClient < boolean > ,
22
- companyId : string ,
23
22
companyInfo : CrunchbaseCompanyProperties ,
24
23
companyUsers : CompanyPersonDetails [ ] ,
25
24
) => {
Original file line number Diff line number Diff line change 1
1
import { container } from '@sapphire/framework' ;
2
2
import {
3
3
CodeyCommandDetails ,
4
- CodeyCommandOptionType ,
5
4
SapphireMessageExecuteType ,
6
5
SapphireMessageResponse ,
7
6
getUserFromMessage ,
8
7
} from '../../codeyCommand' ;
9
- import { getCompaniesByUserId , getEmployeesByCompanyId } from '../../components/company' ;
8
+ import { getCompaniesByUserId } from '../../components/company' ;
10
9
11
10
const companyProfileExecuteCommand : SapphireMessageExecuteType = async (
12
11
client ,
13
12
messageFromUser ,
14
- args ,
15
13
) : Promise < SapphireMessageResponse > => {
16
14
const user = getUserFromMessage ( messageFromUser ) ;
17
15
const companies = await getCompaniesByUserId ( user . id ) ;
Original file line number Diff line number Diff line change 1
- import _ from 'lodash' ;
2
1
import { openDB } from './db' ;
3
2
import { getCrunchbaseCompanyDetails } from '../utils/companyInfo' ;
4
3
You can’t perform that action at this time.
0 commit comments