Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
marketParser
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nazarf
marketParser
Commits
e276d66f
Commit
e276d66f
authored
May 17, 2021
by
nazarf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change notify channel
parent
3fe0daba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
notify.rb
app/models/notify.rb
+1
-1
No files found.
app/models/notify.rb
View file @
e276d66f
...
@@ -8,7 +8,7 @@ class Notify < ApplicationRecord
...
@@ -8,7 +8,7 @@ class Notify < ApplicationRecord
Telegram
::
Bot
::
Client
.
run
(
token
)
do
|
bot
|
Telegram
::
Bot
::
Client
.
run
(
token
)
do
|
bot
|
# 396098026
# 396098026
# @MarketGrab
# @MarketGrab
bot
.
api
.
sendMessage
(
chat_id:
"
396098026
"
,
text:
"collection:
#{
trigger
.
name
}
\n
rarity:
#{
trigger
.
rarity
}
\n
price:
#{
price
}
\n
#{
sale_link
}
"
)
bot
.
api
.
sendMessage
(
chat_id:
"
@MarketGrab
"
,
text:
"collection:
#{
trigger
.
name
}
\n
rarity:
#{
trigger
.
rarity
}
\n
price:
#{
price
}
\n
#{
sale_link
}
"
)
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment