mirror of
https://github.com/lockin-bot/react-telegram.git
synced 2026-04-30 18:32:16 +08:00
feat: allow dispatch /command to <input>
This commit is contained in:
@@ -55,9 +55,11 @@ export class MtcuteAdapter {
|
|||||||
if (handler) {
|
if (handler) {
|
||||||
const app = handler(msg);
|
const app = handler(msg);
|
||||||
await this.sendReactMessage(msg.chat.id, app);
|
await this.sendReactMessage(msg.chat.id, app);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (msg.text) {
|
}
|
||||||
|
if (msg.text) {
|
||||||
// Track if any input has autoDelete enabled
|
// Track if any input has autoDelete enabled
|
||||||
let shouldDelete = false;
|
let shouldDelete = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user