File tree Expand file tree Collapse file tree
extensions/discord/src/monitor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -312,16 +312,15 @@ async function dispatchDiscordCommandInteraction(params: {
312312 } ,
313313 allowNameMatching,
314314 } ) ;
315- const { ownerAllowList : commandOwnerAllowList , ownerAllowed : commandOwnerOk } =
316- resolveDiscordOwnerAccess ( {
317- allowFrom : commandOwnerAllowFrom ,
318- sender : {
319- id : sender . id ,
320- name : sender . name ,
321- tag : sender . tag ,
322- } ,
323- allowNameMatching,
324- } ) ;
315+ const { ownerAllowed : commandOwnerOk } = resolveDiscordOwnerAccess ( {
316+ allowFrom : commandOwnerAllowFrom ,
317+ sender : {
318+ id : sender . id ,
319+ name : sender . name ,
320+ tag : sender . tag ,
321+ } ,
322+ allowNameMatching,
323+ } ) ;
325324 const commandOwnerAllowAll = commandOwnerAllowFrom ?. includes ( "*" ) === true ;
326325 const senderIsCommandOwner = commandOwnerOk || commandOwnerAllowAll ;
327326 const ownerAllowListConfigured = discordOwnerAllowList != null ;
You can’t perform that action at this time.
0 commit comments