Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.08 KB

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}