File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ $script :assetPath = " $PSScriptRoot \asset\emoji.json"
Original file line number Diff line number Diff line change 11# this psm1 is for local testing and development use only
22
3+ # dot source the parent import for local development variables
4+ . $PSScriptRoot \Imports.ps1
5+
36# discover all ps1 file(s) in Public and Private paths
47$itemSplat = @ {
58 Filter = ' *.ps1'
Original file line number Diff line number Diff line change @@ -100,9 +100,8 @@ function Get-TelegramStickerPackInfo {
100100 }# catch_messageSend
101101 # ------------------------------------------------------------------------
102102 Write-Verbose - Message ' Sticker information found. Processing emoji information...'
103- $assetPath = " ..\$PSScriptRoot \asset\emoji.json"
104- Write-Verbose " Asset path: $assetPath "
105- $je = Get-Content - Path $assetPath
103+ Write-Verbose " Asset path: $script :assetPath "
104+ $je = Get-Content - Path $script :assetPath
106105 $psF = $je | ConvertFrom-Json
107106 $stickerData = @ ()
108107 foreach ($emoji in $results.result.stickers ) {
You can’t perform that action at this time.
0 commit comments