Skip to content

Update haikus with author attribution - #516

Open
infa-stripath wants to merge 1 commit into
github:mainfrom
infa-stripath:patch-1
Open

infa-stripath wants to merge 1 commit into
github:mainfrom
infa-stripath:patch-1

Conversation

@infa-stripath

Copy link
Copy Markdown

Commit by Shailesh

@daryl-c82 daryl-c82 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

authored

@daryl-c82 daryl-c82 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified

@2snz7k8cf9-svg

Copy link
Copy Markdown

from highrise import BaseBot, User, Position, AnchorPosition

class Bot(BaseBot):

async def on_user_join(
    self,
    user: User,
    position: Position | AnchorPosition
) -> None:
    await self.highrise.chat(
        f"أهلاً وسهلاً {user.username} ❤️ نورت روم سارة!"
    )

@2snz7k8cf9-svg 2snz7k8cf9-svg left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

async def on_user_join(
self,
user: User,
position: Position | AnchorPosition
) -> None:
await self.highrise.chat(
f"أهلاً وسهلاً {user.username} ❤️ نورت روم سارة!"
)

@2snz7k8cf9-svg

Copy link
Copy Markdown

async def on_user_join(
self,
user: User,
position: Position | AnchorPosition
) -> None:
await self.highrise.chat(
f"أهلاً وسهلاً {user.username} ❤️ نورت روم سارة!"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants