@@ -3174,7 +3174,10 @@ def get_app_entitlements(
31743174 after : Optional [Snowflake ] = None ,
31753175 limit : int = 100 ,
31763176 ) -> Response [List [entitlements .Entitlement ]]:
3177- params : Dict [str , Any ] = {'exclude_ended' : str (exclude_ended ).lower (), 'exclude_deleted' : str (exclude_deleted ).lower ()}
3177+ params : Dict [str , Any ] = {
3178+ 'exclude_ended' : str (exclude_ended ).lower (),
3179+ 'exclude_deleted' : str (exclude_deleted ).lower (),
3180+ }
31783181 if user_id :
31793182 params ['user_id' ] = user_id
31803183 if guild_id :
@@ -3237,25 +3240,37 @@ def get_user_app_entitlements(
32373240 )
32383241
32393242 def get_user_entitlements (
3240- self , with_sku : bool = True , with_application : bool = True , exclude_ended : bool = False , entitlement_type : Optional [int ] = None
3243+ self ,
3244+ with_sku : bool = True ,
3245+ with_application : bool = True ,
3246+ exclude_ended : bool = False ,
3247+ entitlement_type : Optional [int ] = None ,
32413248 ) -> Response [List [entitlements .Entitlement ]]:
3242- params : Dict [str , Any ] = {'with_sku' : str (with_sku ).lower (), 'with_application' : str (with_application ).lower (), 'exclude_ended' : str (exclude_ended ).lower ()}
3249+ params : Dict [str , Any ] = {
3250+ 'with_sku' : str (with_sku ).lower (),
3251+ 'with_application' : str (with_application ).lower (),
3252+ 'exclude_ended' : str (exclude_ended ).lower (),
3253+ }
32433254 if entitlement_type is not None :
32443255 params ['entitlement_type' ] = entitlement_type
32453256
32463257 return self .request (Route ('GET' , '/users/@me/entitlements' ), params = params )
32473258
3248- def get_giftable_entitlements (
3249- self , country_code : Optional [str ] = None
3250- ) -> Response [List [entitlements .Entitlement ]]:
3259+ def get_giftable_entitlements (self , country_code : Optional [str ] = None ) -> Response [List [entitlements .Entitlement ]]:
32513260 params = {}
32523261 if country_code :
32533262 params ['country_code' ] = country_code
32543263
32553264 return self .request (Route ('GET' , '/users/@me/entitlements/gifts' ), params = params )
32563265
32573266 def get_guild_entitlements (
3258- self , guild_id : Snowflake , with_sku : bool = True , with_application : bool = True , exclude_ended : bool = False , exclude_deleted : bool = True , entitlement_type : Optional [int ] = None
3267+ self ,
3268+ guild_id : Snowflake ,
3269+ with_sku : bool = True ,
3270+ with_application : bool = True ,
3271+ exclude_ended : bool = False ,
3272+ exclude_deleted : bool = True ,
3273+ entitlement_type : Optional [int ] = None ,
32593274 ) -> Response [List [entitlements .Entitlement ]]:
32603275 params : Dict [str , Any ] = {
32613276 'with_sku' : str (with_sku ).lower (),
@@ -4541,7 +4556,7 @@ def get_oauth2_authorization(
45414556 if state :
45424557 params ['state' ] = state
45434558 if nonce :
4544- params ['nonce' ] = nonce
4559+ params ['nonce' ] = nonce
45454560
45464561 return self .request (Route ('GET' , '/oauth2/authorize' ), params = params )
45474562
0 commit comments