mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
enhancement(lint): Fix lint errors for src/commands/anondm.ts
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
7c59d34d14
commit
6da297872e
1 changed files with 4 additions and 4 deletions
|
|
@ -196,9 +196,11 @@ export default class AnonDM implements Command {
|
|||
console.debug(`#action`, par);
|
||||
console.log(action);
|
||||
//@ts-ignore
|
||||
const userID= action.action_id.split("_")[2] as string
|
||||
const userID = action.action_id.split("_")[2] as string;
|
||||
//@ts-ignore
|
||||
const userHash = Object.keys(app.dbs.anondm.storage).find((e) => bcrypt.compareSync(userID, e))
|
||||
const userHash = Object.keys(app.dbs.anondm.storage).find((e) =>
|
||||
bcrypt.compareSync(userID, e),
|
||||
);
|
||||
//@ts-ignore
|
||||
const mail_index = action.value as string;
|
||||
const user = par.body.user;
|
||||
|
|
@ -211,8 +213,6 @@ export default class AnonDM implements Command {
|
|||
// });
|
||||
});
|
||||
|
||||
|
||||
|
||||
// creation of mail :')
|
||||
// // display user model
|
||||
// await app.client.chat.postMessage({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue