Skip to content

Commit

Permalink
Remove contain links and useless file
Browse files Browse the repository at this point in the history
  • Loading branch information
Konard authored Mar 5, 2024
1 parent 80d1a26 commit e3c030b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 189 deletions.
170 changes: 0 additions & 170 deletions bot-listen.ts

This file was deleted.

20 changes: 1 addition & 19 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,7 @@ const startBot = async (deep) => {

const messageLink = {
string: { data: { value: messageContent } },
type_id: messageTypeLinkId,
in: {
data: [{
type_id: containTypeLinkId,
from_id: userLinkId,
}]
}
type_id: messageTypeLinkId
};
console.log({messageLink})

Expand Down Expand Up @@ -175,12 +169,6 @@ const startBot = async (deep) => {
type_id: replyTypeLinkId,
from_id: messageLinkId,
to_id: lastMessageId,
in: {
data: [{
type_id: containTypeLinkId,
from_id: userLinkId,
}]
}
});
} else {
await deep.insert({
Expand All @@ -194,12 +182,6 @@ const startBot = async (deep) => {
{
type_id: replyTypeLinkId,
from_id: messageLinkId,
in: {
data: [{
type_id: containTypeLinkId,
from_id: userLinkId,
}]
}
}]
}
});
Expand Down

0 comments on commit e3c030b

Please sign in to comment.