Giter VIP home page Giter VIP logo

discord-crypto-bot's Introduction

Crypto logo
Discord Crypto Bot

Go Reference Go Version GoReportCard CodeFactor GitHub Workflow Status Size Last Commit License


๐ŸŒŸ How it works

I use the Yahoo! API to gather real-time cryptocurrency data.

๐Ÿ“ฆ Installation and Usage

Config File

Rename the config.json.example file to config.json and add your Discord Token and Crypto Ticker to the file.

{
	"DiscordToken": "Your Token Key",
	"CryptoTicker": "BTC-USD"
}

List of Crypto Tickers

Go

Make sure you have Go installed on your machine.

You can check by running the following command in the console

go version

If you don't have Go installed, you can download it from here.

Project setup

Run the following command in the console, in the project directory

Run the following command to install the dependencies

go get

Then run the following command to tidy the dependencies

go mod tidy

Then run the following command to build the bot

go build

Project run

Run the following command to run the bot

./discord-crypto-bot

๐Ÿ’ป Dependencies

๐Ÿ™‡โ€โ™‚๏ธ Issues and Contributing

If you find an issue with this library, please report the issue using our GITHUB-ISSUES or check out the SECURITY details if it is security related.

If you'd like, I welcome any contributions. Please read the CONTRIBUTING document then FORK this library and submit a PULL-REQUEST. Make sure to click compare across forks to see your fork.

โš–๏ธ License

This project is under the MIT License. See the LICENSE file for the full license text.

๐Ÿ“œ Changes

Check out our CHANGELOG

๐Ÿ‘๐Ÿป Code of Conduct

Please read my CODE-OF-CONDUCT before contributing or engaging in discussions.

discord-crypto-bot's People

Contributors

ggoodwin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.