Commit 748ebf69 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 2ea882fc
...@@ -55,11 +55,13 @@ async function processCallback(msg) { ...@@ -55,11 +55,13 @@ async function processCallback(msg) {
else if (msg.data.startsWith("euro_")) showCount(msg, 'euro') else if (msg.data.startsWith("euro_")) showCount(msg, 'euro')
else if (msg.data.startsWith("lir_")) showCount(msg, 'lir') else if (msg.data.startsWith("lir_")) showCount(msg, 'lir')
else if (msg.data.startsWith("aed_")) showCount(msg, 'aed') else if (msg.data.startsWith("aed_")) showCount(msg, 'aed')
else if (msg.data.startsWith("can_")) showCount(msg, 'can')
else if (msg.data.startsWith("Rtoman_")) commitRequest(msg, 'toman') else if (msg.data.startsWith("Rtoman_")) commitRequest(msg, 'toman')
else if (msg.data.startsWith("Rdollar_")) commitRequest(msg, 'dollar') else if (msg.data.startsWith("Rdollar_")) commitRequest(msg, 'dollar')
else if (msg.data.startsWith("Reuro_")) commitRequest(msg, 'euro') else if (msg.data.startsWith("Reuro_")) commitRequest(msg, 'euro')
else if (msg.data.startsWith("Rlir_")) commitRequest(msg, 'lir') else if (msg.data.startsWith("Rlir_")) commitRequest(msg, 'lir')
else if (msg.data.startsWith("Raed_")) commitRequest(msg, 'aed') else if (msg.data.startsWith("Raed_")) commitRequest(msg, 'aed')
else if (msg.data.startsWith("Rcan_")) commitRequest(msg, 'can')
else if (msg.data.startsWith("yes_")) yesNoDoc(msg, 'yes') else if (msg.data.startsWith("yes_")) yesNoDoc(msg, 'yes')
else if (msg.data.startsWith("no_")) yesNoDoc(msg, 'no') else if (msg.data.startsWith("no_")) yesNoDoc(msg, 'no')
......
...@@ -327,6 +327,11 @@ async function forwardCurrencyMessage(bot, msg, data) { ...@@ -327,6 +327,11 @@ async function forwardCurrencyMessage(bot, msg, data) {
vahed: 'aed', vahed: 'aed',
text: 'درهم', text: 'درهم',
callback_data: 'Raed_' + data.user callback_data: 'Raed_' + data.user
},
{
vahed: 'can',
text: 'دلار کانادا',
callback_data: 'Rcan_' + data.user
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment