Skip to content

Commit

Permalink
修正缩进
Browse files Browse the repository at this point in the history
  • Loading branch information
Anillc committed Mar 20, 2021
1 parent 29dcaa9 commit ceb92a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-telegram/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class HttpServer extends Adapter<'telegram'> {
if (message.sticker) {
const fid = message.sticker.fileId
const { data } = await axios.get(endpoint + '/bot' + token + `/getFile?file_id=${fid}`)
msg += ` [CQ:image,file=${fid},url=${endpoint}/file/bot${token}/${data.result.file_path}]`
msg += ` [CQ:image,file=${fid},url=${endpoint}/file/bot${token}/${data.result.file_path}]`
}
for (const entity of message.entities || []) {
if (entity.type === 'mention') {
Expand Down

0 comments on commit ceb92a9

Please sign in to comment.