Skip to content

Commit

Permalink
added proc file and removed ping
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazymondaysunday committed Jul 28, 2021
1 parent 3e876d8 commit d0ac1dd
Showing 2 changed files with 1 addition and 17 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
worker: npm start
17 changes: 0 additions & 17 deletions index.js
Original file line number Diff line number Diff line change
@@ -53,23 +53,6 @@ client.login(process.env.BOT_TOKEN);

client.on('message', message => {
if (!channels.includes(message.channel.id)) return
if (message.content === '!ping') {
// send back "Pong." to the channel the message was sent in
const exampleEmbed = new Discord.MessageEmbed()
.setColor("#0099ff")
.setAuthor(
"FOX Token",
"https://assets.coincap.io/assets/icons/[email protected]",
"https://coincap.io/assets/fox-token"
)
.addFields(
{ name: "Price", value: "$0.70", inline: true },
{ name: "Change", value: "-8.00% 📈", inline: true, setColor: '#0099ff' },
)
.setTimestamp()
.setFooter("CoinCap", "https://iconape.com/wp-content/png_logo_vector/coincap.png");
message.channel.send(exampleEmbed);
}
if (message.content === '!proposals') {
const resp = axios.get('https://api.boardroom.info/v1/protocols/shapeshift/proposals?limit=50').then(resp => {
const data = resp.data.data

0 comments on commit d0ac1dd

Please sign in to comment.