nexushub-commands 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,16 +125,16 @@ let AdminWithdrawalCommand = AdminWithdrawalCommand_1 = class AdminWithdrawalCom
125
125
  reply_markup: { inline_keyboard: [[{ text: '👨‍💻 Тех. поддержка', url: `https://t.me/${config.support.username}` }]] },
126
126
  });
127
127
  }
128
- context = AdminWithdrawalCommand_1.logMessages[withdrawal.id] || context;
129
- context.sendFormatted({
130
- noPhoto: true,
131
- edit: true,
132
- }, {
133
- parse_mode: undefined,
134
- text: context.text + (decision ? '\n\nЗаявка на вывод средств была успешно обработана ☑️' : '\n\nЗаявка на вывод средств была успешно отклонена ☑️'),
135
- entities: context.entities,
136
- });
137
128
  }
129
+ context = AdminWithdrawalCommand_1.logMessages[withdrawal.id] || context;
130
+ context.sendFormatted({
131
+ noPhoto: true,
132
+ edit: true,
133
+ }, {
134
+ parse_mode: undefined,
135
+ text: context.text + (decision ? '\n\nЗаявка на вывод средств была успешно обработана ☑️' : '\n\nЗаявка на вывод средств была успешно отклонена ☑️'),
136
+ entities: context.entities,
137
+ });
138
138
  });
139
139
  }
140
140
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexushub-commands",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "main": "./lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -153,19 +153,19 @@ export class AdminWithdrawalCommand extends Command {
153
153
  }
154
154
  );
155
155
  }
156
-
157
- context = AdminWithdrawalCommand.logMessages[withdrawal.id as any] || context;
158
- context.sendFormatted(
159
- {
160
- noPhoto: true,
161
- edit: true,
162
- },
163
- {
164
- parse_mode: undefined,
165
- text: context.text + (decision ? '\n\nЗаявка на вывод средств была успешно обработана ☑️' : '\n\nЗаявка на вывод средств была успешно отклонена ☑️'),
166
- entities: context.entities,
167
- }
168
- );
169
156
  }
157
+
158
+ context = AdminWithdrawalCommand.logMessages[withdrawal.id as any] || context;
159
+ context.sendFormatted(
160
+ {
161
+ noPhoto: true,
162
+ edit: true,
163
+ },
164
+ {
165
+ parse_mode: undefined,
166
+ text: context.text + (decision ? '\n\nЗаявка на вывод средств была успешно обработана ☑️' : '\n\nЗаявка на вывод средств была успешно отклонена ☑️'),
167
+ entities: context.entities,
168
+ }
169
+ );
170
170
  }
171
171
  }