Compare commits

..

2 Commits

Author SHA1 Message Date
Derrick Hammer 552d6e9c9a
*Update dist 2023-04-09 02:29:32 -04:00
Derrick Hammer 14b9fe25e1
*Pass along the message id 2023-04-09 02:29:17 -04:00
2 changed files with 6 additions and 0 deletions

3
dist/index.js vendored
View File

@ -148,18 +148,21 @@ class Message extends Client {
switch (data.action) {
case "encode":
update({
id: data.id,
action: "encode",
args: [await this.encoding.encode?.(...data.args), data.args[0]],
});
break;
case "decode":
update({
id: data.id,
action: "decode",
args: [await this.encoding.decode?.(...data.args), data.args[0]],
});
break;
case "preencode":
update({
id: data.id,
action: "preencode",
args: [
await this.encoding.preencode?.(...data.args),

View File

@ -233,18 +233,21 @@ class Message extends Client {
switch (data.action) {
case "encode":
update({
id: data.id,
action: "encode",
args: [await this.encoding.encode?.(...data.args), data.args[0]],
});
break;
case "decode":
update({
id: data.id,
action: "decode",
args: [await this.encoding.decode?.(...data.args), data.args[0]],
});
break;
case "preencode":
update({
id: data.id,
action: "preencode",
args: [
await this.encoding.preencode?.(...data.args),