bitcoinbot

command module
v0.0.0-...-842cb7b Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

BitcoinBot · CircleCI

A discord bot to check Bitcoin Price... yeah... just that...

Discord Bots Discord Bots Discord Bots

Build

$ git clone https://github.com/muhammadmuzzammil1998/bitcoinbot.git
$ cd bitcoinbot
$ go build

Run

To run in background

$ ./bitcoinbot -token YOUR.TOKEN.HERE &

OR

$ pkill bitcoinbot; cd /path/to/bitcoinbot; go build; nohup ./bitcoinbot -token YOUR.TOKEN.HERE &; disown; echo "\n\nBitcoinBot is up\n\n"; ps ax | grep ./bitcoinbot;

I prefer this block ^

-token flag

Your discord bot token. ("Reviewing Bot" section)

Usage

-token string
        Bot token (default "nil")

Usage in Discord

>btc <currency>

OR

@BitcoinBot <currency>
Example
@BitcoinBot USD

Result

Help: >btc help

Invite

Invite BitcoinBot to your Discord server.

Join support server

Prerequisite: Go and DiscordGo

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