mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
debug: more
This commit is contained in:
parent
6da297872e
commit
d09ad4a8fc
1 changed files with 7 additions and 0 deletions
|
|
@ -205,6 +205,13 @@ export default class AnonDM implements Command {
|
|||
const mail_index = action.value as string;
|
||||
const user = par.body.user;
|
||||
console.log(userHash, mail_index);
|
||||
const message = app.dbs.anondm.get(userHash).messages[mail_index];
|
||||
console.log(message);
|
||||
const decrypted = EncryptedJsonDb.decrypt(
|
||||
message,
|
||||
`${userID}_` + process.env.ANONDM_PASSWORD,
|
||||
);
|
||||
console.log(decrypted, message);
|
||||
// display user model
|
||||
// await app.client.chat
|
||||
// .postMessage({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue