Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #38 from RedRoundRobin/feature/generalFix
Browse files Browse the repository at this point in the history
general fix
  • Loading branch information
giovd8 committed May 10, 2020
2 parents 6feb3b3 + 9c20817 commit 993cd5c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
BOT_TOKEN=1120382460:AAGy8CdhjdMxaS99K3za1Jxoqp-ayPuVC1w
BOT_TOKEN=1082631669:AAGKRWKQ6zIrmJYwVfoH9BrErtJW_3XWvTc
URL_API=http://core.host.redroundrobin.site:9999
SERVER_PORT=3000
2 changes: 1 addition & 1 deletion commands/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const botHelp = (bot) => {
replyWithMarkdown(`
*RIoT - Telegram Bot*
Ecco la lista dei comandi disponibili:
\u{2753} Ecco la lista dei comandi disponibili:
- /help - informazioni di supporto (corrente)
- /login - primo avvio e registrazione account
Expand Down
2 changes: 1 addition & 1 deletion commands/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const botInfo = (bot, auth) => {
}
return message.replyWithMarkdown(
`
Ecco i tuoi dati *${message.from.username}*
Ecco i tuoi dati *${message.from.username}* \u{1F4DD}
- *Nome:* ${name}
- *Cognome:* ${surname}
- *Email:* ${email}
Expand Down
2 changes: 1 addition & 1 deletion commands/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const botStart = (bot) => {
console.log("started:", message.from.id);
const username = message.from.username;
return message.replyWithMarkdown(`
Ciao *${username}*, benvenuto nel RIoT bot!
Ciao *${username}*, benvenuto nel RIoT bot! \u{1F47E}
Usa il comando /login per effettuare l'autenticazione.
Se hai bisogno di aiuto digita il comando /help`);
});
Expand Down
2 changes: 1 addition & 1 deletion utils/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const botServer = http.createServer((req, res) => {
if (!checkChatId(chatId)) {
console.log("Invalid chat id");
} else {
const authMessage = `Ecco il tuo codice di autenticazione: ${authCode}`;
const authMessage = `Ecco il tuo codice di autenticazione: ${authCode} \u{1F510}`;
sendMessage(authMessage, chatId);
}
} else if (response.reqType === "alert") {
Expand Down

0 comments on commit 993cd5c

Please sign in to comment.