Skip to content

Instantly share code, notes, and snippets.

View AWeirdDev's full-sized avatar
💭
four

JC AWeirdDev

💭
four
  • Earth
  • NTPC, Taiwan
  • 12:44 (UTC -12:00)
  • X @AWeirdDev
View GitHub Profile
@AWeirdDev
AWeirdDev / main.py
Created February 1, 2023 13:44
[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()
@AWeirdDev
AWeirdDev / README.md
Last active December 4, 2022 12:52
Creating a classroom using LINELIB

Classroom example

Running a LINE Bot with a basic classroom functionality, with homework and market commands.

The homework.txt

Here's the editting format:

  • HOMEWORK_CONTENT - Homework content
  • HOMEWORK_CONTENT$$DUE - Homework content with a due date.
    • $$none - No due date (green).
    • $$today - Due today (red).
  • $$DATE - Due on a custom date. (e.g. Friday)

CowLangO - v.1

BETA 測試版

關於 CowLangO

CowLangO 是專門製作使用者介面的簡易程式語言,目前使用於 牛牛 Announcer

Pro Tip! 目前不提供 CowLangO 離線版,若有需要可以到 CowLangO Github 告訴我們。

基本語法

import requests
json = {
"message": "message content"
}
response = requests.post("https://m.scratchthings.repl.co")
print(response.content)
@AWeirdDev
AWeirdDev / hi.txt
Last active January 15, 2022 09:04
Umm This Is Still In Beta But Okie