# ScopedArgs

`type` in `plugin-oauth` · v0.1.0

<https://seedcord.org/docs/packages/plugin-oauth/0.1.0/types/scoped-args>

## Declaration

```ts
type ScopedArgs<
    TAllowed extends OAuthScope,
    TScope extends OAuthScope,
    TArgs extends unknown[] = []
> = TScope extends TAllowed
    ? TArgs
    : [
          `This call needs the '${TScope}' scope. Add it to scopes or extraScopes.`
      ];
```
