Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 1.68 KB

README.md

File metadata and controls

77 lines (53 loc) · 1.68 KB

Logo

Gopher Economy

GopherEconomy is a Discord bot built with Go (Golang) to provide currenty quote, economic data, and market insights. Designed for simplicity and efficiency, Gophernomy is perfect for anyone who wants quick access to market data.

Getting Started

Prerequisites:

  • Go (Golang) installed on your system.

  • A Discord bot token.

Installation:

  • Clone the repository:
git clone https://github.com/yourusername/GopherEconomy.git
cd GopherEconomy
  • Install dependencies:
go mod tidy
  • create .env
cp .env.template .env
  • Set up your environment variables in file ./.env:
DISCORD_TOKEN=your-discord-bot-token
BASE_URL="url"
  • Run the bot:
go run main.go

Discord Commands

!help -> List commands
!q <Abbreviation1> <Abbreviation2> -> Show Current <Abbreviation1> in <Abbreviation2>
Example:
!q usd brl -> Show Current Dollar in BR
!q <Abbreviation1> <Abbreviation2> <Amount value> -> Show Current <Abbreviation1> in <Abbreviation2><Amount value>
Example:
!q usd brl 2.50 -> Show Current Amount in BR, R$ 15,00
!git -> Provides a link to the GitHub repository for contributions.
Example:
!git -> https://github.com/caio-imperial/gopher-economy

Contributing

Contributions are welcome!

Support

If you encounter any issues or have suggestions, feel free to open an issue.

With just a few commands, GopherEconomy keeps your server updated with BRL/USD and BTC/USD rates. Happy coding! 😊