Skip to content

Instantly share code, notes, and snippets.

@AWeirdDev
Created February 1, 2023 13:44
Show Gist options
  • Save AWeirdDev/8ddac68554328b8beaa139d8c4f01e79 to your computer and use it in GitHub Desktop.
Save AWeirdDev/8ddac68554328b8beaa139d8c4f01e79 to your computer and use it in GitHub Desktop.
[LineLib] Hello World Example
from linelib import Client # pip install linelib
client = Client('channel secret', 'channel access token')
@client.event('text')
async def text_msg(ctx):
await ctx.send('Hello, World!')
client.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment