andrei-1111 / coingecko-discord-price-bot

Simple Price Bot built with Coingecko Rust Crate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Price Bot using Coingecko Crate

Required env variables:

  • DISCORD_TOKEN: Discord bot token
  • TOKEN_ID: Token ID can be retrieved on /coins/list
  • GUILD_ID: ID of the discord channel

Important crates used:

Deployment

# Initialize `shuttle` configurations. Projects will be hosted at 
# ${project_name}.shuttleapp.rs
cargo shuttle init --serenity

# Existing serenity projects, you can start it with:
cargo shuttle project start --name=${project_name}

# Run the program locally 
cargo shuttle run --name=${project_name}

# Deploy and run the program 
cargo shuttle deploy --name=${project_name}

About

Simple Price Bot built with Coingecko Rust Crate


Languages

Language:Rust 100.0%