fix(Discord Node): When using OAuth2 authentication, check if user is a guild member when sending direct message (#9183)

This commit is contained in:
Michael Kret
2024-04-25 11:41:53 +03:00
committed by GitHub
parent d9e74949c4
commit 00dfad3279
11 changed files with 48 additions and 18 deletions

View File

@@ -124,7 +124,7 @@ export async function categorySearch(this: ILoadOptionsFunctions): Promise<INode
export async function userSearch(
this: ILoadOptionsFunctions,
filter?: string,
_filter?: string,
paginationToken?: string,
): Promise<INodeListSearchResult> {
const guildId = await getGuildId.call(this);