refactoring project structure

This commit is contained in:
2025-05-21 12:27:03 +02:00
parent af71544585
commit b2592d7334
12 changed files with 462 additions and 428 deletions

View File

@@ -3,7 +3,6 @@
#include <stdio.h>
#include <tgbot.h>
bool run = true;
void sighandler(int signum) {
@@ -19,7 +18,6 @@ void echo_message(tgbot *bot, tgbot_update *update) {
}
int main(void) {
printf("Running...\n");
/* Retrieve bot's token */
FILE *fp = fopen(".token", "r");
if (fp == NULL) {