Spaces:
Paused
Paused
Mohammed Foud commited on
Commit ·
d3c34ba
1
Parent(s): 1029f50
all
Browse files- src/bots/botManager.ts +1 -0
- src/index.ts +2 -2
src/bots/botManager.ts
CHANGED
|
@@ -22,6 +22,7 @@ export const BotCommands: { command: string; description: string }[] = [
|
|
| 22 |
{ command: 'change_language', description: 'تغيير اللغة / Change language' },
|
| 23 |
];
|
| 24 |
|
|
|
|
| 25 |
// Add this interface to match your database schema
|
| 26 |
export interface BotData {
|
| 27 |
id: string;
|
|
|
|
| 22 |
{ command: 'change_language', description: 'تغيير اللغة / Change language' },
|
| 23 |
];
|
| 24 |
|
| 25 |
+
|
| 26 |
// Add this interface to match your database schema
|
| 27 |
export interface BotData {
|
| 28 |
id: string;
|
src/index.ts
CHANGED
|
@@ -35,6 +35,6 @@ async function startServer() {
|
|
| 35 |
startServer();
|
| 36 |
|
| 37 |
// To use the WeBook main function, uncomment the following line:
|
| 38 |
-
webookMain().catch(e => { console.error('WeBook Fatal error:', e); });
|
| 39 |
|
| 40 |
-
|
|
|
|
| 35 |
startServer();
|
| 36 |
|
| 37 |
// To use the WeBook main function, uncomment the following line:
|
| 38 |
+
// webookMain().catch(e => { console.error('WeBook Fatal error:', e); });
|
| 39 |
|
| 40 |
+
handleAddTelegrafBot("1e186256-fdd6-453f-8344-fd824660b8bd")
|