roles-bot/src/bot/index.ts

5 lines
132 B
TypeScript
Raw Normal View History

2021-12-21 12:55:10 +01:00
import { handleRequest } from './bot'
2021-12-21 11:10:06 +01:00
2021-12-21 12:55:10 +01:00
addEventListener('fetch', (event) => {
event.respondWith(handleRequest(event.request))
})