discord-crypto-bot

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: MIT Imports: 6 Imported by: 0

README ΒΆ

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.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL