Skip to content

Commit

Permalink
update: import Result
Browse files Browse the repository at this point in the history
  • Loading branch information
hawk-tomy committed Mar 23, 2024
1 parent 5eddfeb commit 7fe9e66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions example/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

from discord import Client, Intents, Interaction
from discord.app_commands import CommandTree
from discord.ext.flow import Button, Controller, Message, ModelBase
from discord.ext.flow.result import Result
from discord.ext.flow import Button, Controller, Message, ModelBase, Result


class StartModel(ModelBase):
Expand Down
3 changes: 1 addition & 2 deletions example/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

from discord import Client, Intents, Interaction
from discord.app_commands import CommandTree
from discord.ext.flow import Button, Controller, Message, ModelBase
from discord.ext.flow.result import Result
from discord.ext.flow import Button, Controller, Message, ModelBase, Result

TREE_STRING = """
tree of this example
Expand Down

0 comments on commit 7fe9e66

Please sign in to comment.