Git Product home page Git Product logo

cryptocurrency-discord-bot-status's Introduction

Example bot setup.

About

This bot will update its status message with the current price of the desired cryptocurrency.

Is based on Minecraft Player Count Discord Bot by Spencer Torres

Features

  • Sets the price of the desired cryptocurrency in the Discord bot status.
  • It is updated at the desired time interval.
  • Adds more information in the bot status and in its biography.
  • See config file for more customizations.

How to use

This bot is really easy to use.

Just follow these steps:

  1. Have Node.JS installed.
  2. Clone this repository to a folder on your computer.
  3. Open a terminal in that folder, and install the packages with npm install
  4. Duplicate and rename the .env-template file and configure it to your liking.

Ensure to enable server member intent on the Discord developer page Server member intent

For information on getting a bot token, follow the steps on the Discord developer documentation.

Extra Info

This was created for my Discord server, but I wanted to share it with added flexibility for anyone to use.

This relies on the API hosted at https://api.coingecko.com

Coin ID list: https://api.coingecko.com/api/v3/coins/list

cryptocurrency-discord-bot-status's People

Contributors

cferreras avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cryptocurrency-discord-bot-status's Issues

Question about displaying multiple currency prices

Hi Carlos,

This bot works great! I have it working on my server for a single currency. The screenshot in your README shows 3 currencies displayed. Can you explain how this can be implemented with multiple currencies under a single Discord group?

Thank you!

John

nickname doesn't change

Error at api.coingecko.com data:
TypeError: Cannot read properties of null (reading 'me')
at /home/runner/Crypto-Ticker-3/index.js:24:67

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.