Skip to content

Commit

Permalink
Remove #P2PLN hashtag from bot messages
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch committed Sep 22, 2021
1 parent d64c675 commit c9e5ea5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bot/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,7 @@ const repeatedInvoiceMessage = async (bot, user) => {

const publishBuyOrderMessage = async (ctx, bot, order) => {
try {
let publishMessage = `⚡️🍊⚡️\n${order.description}\n`;
publishMessage += `#P2PLN\n\n`;
let publishMessage = `⚡️🍊⚡️\n${order.description}\n\n`;
publishMessage += `Para tomar esta orden, toca el botón 👇`;

// Mensaje al canal
Expand Down Expand Up @@ -322,8 +321,7 @@ const publishBuyOrderMessage = async (ctx, bot, order) => {

const publishSellOrderMessage = async (ctx, bot, order) => {
try {
let publishMessage = `⚡️🍊⚡️\n${order.description}\n`;
publishMessage += `#P2PLN\n\n`;
let publishMessage = `⚡️🍊⚡️\n${order.description}\n\n`;
publishMessage += `Para tomar esta orden, toca el botón 👇`;
const message1 = await bot.telegram.sendMessage(process.env.CHANNEL, publishMessage);
const message2 = await bot.telegram.sendMessage(process.env.CHANNEL, order._id, {
Expand Down

0 comments on commit c9e5ea5

Please sign in to comment.