added toast for loading and fixed chathistory

This commit is contained in:
Dhravya 2024-06-24 23:31:44 -05:00
parent 3d01911315
commit 657ced2a38
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ bot.command("start", async (ctx) => {
const cipherd = cipher(user.id.toString());
await ctx.reply(
`Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your accont: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`,
`Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`,
);
});
@ -38,7 +38,7 @@ bot.on("message", async (ctx) => {
if (!dbUser) {
await ctx.reply(
`Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your accont: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`,
`Welcome to Supermemory bot. I am here to help you remember things better. Click here to create and link your account: https://beta.supermemory.ai/signin?telegramUser=${cipherd}`,
);
return;