Skip to content

Commit

Permalink
🎨 make formatter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Nov 15, 2023
1 parent 68c8f0c commit d99ca2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion nonebot/adapters/discord/api/client.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
class ApiClient: ...
class ApiClient:
...
1 change: 0 additions & 1 deletion nonebot/adapters/discord/api/client.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,6 @@ class ApiClient:
# reason: Optional[str] = ...) -> Sticker:
# """https://discord.com/developers/docs/resources/sticker#create-guild-sticker"""
# ...

async def modify_guild_sticker(
self,
*,
Expand Down
6 changes: 3 additions & 3 deletions nonebot/adapters/discord/api/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2659,9 +2659,9 @@ class GuildCreate(BaseModel):
members: Missing[List["GuildMember"]] = UNSET
channels: Missing[List["Channel"]] = UNSET
threads: Missing[List["Channel"]] = UNSET
presences: Missing[List["PresenceUpdate"]] = (
UNSET # partial presence update objects
)
presences: Missing[
List["PresenceUpdate"]
] = UNSET # partial presence update objects
stage_instances: Missing[List["StageInstance"]] = UNSET
guild_scheduled_events: Missing[List["GuildScheduledEvent"]] = UNSET

Expand Down
4 changes: 2 additions & 2 deletions nonebot/adapters/discord/commands/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

_application_command_storage: Dict[str, "ApplicationCommandConfig"] = {}

OPTION_KEY: Literal["_discord_application_command_options"] = (
OPTION_KEY: Literal[
"_discord_application_command_options"
)
] = "_discord_application_command_options"


async def sync_application_command(bot: Bot):
Expand Down

0 comments on commit d99ca2c

Please sign in to comment.