Skip to content

Generating specific alarts to Discord regarding crypto

Notifications You must be signed in to change notification settings

1uffyD9/crypto_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preperation

  • Creating the api
  • Creating Discord bot
  • Install the necessary libraries
    $ pip install -r requirements.txt
    
  • Run the my_cypher.py and provide bot token to generate encrypted token
    $ python my_cypher.py
    [!] Please provide the password :
    [!] Add any string to encrypt: bot_token
    [!] Please Enter api key :
    [!] Please Enter secret_key :
    [*] Encrypted random string : b'gAAAAABgdajqnciy9bqXwtziiEZ45wjeo-17ZcTNkvq7r0GKpxaA=='
    [*] Encrypted key pair object :
    
  • Create a .env file in the directory and add following variables to that
    • Copy the encrypted bot key from previous output and create an variable
      CRYPTO_BOT_KEY=<encrypted_bot_key_goes_here>
    
    • Get the channel ID from Discord which you want to send notifications to and create another variable
      CHANNEL_ID=<channel_ID_goes_here>
    

Running

  • Run the script and provide the password which you used to encrypt the key pairs.
    $ python main.py  
    [!] Please provide the password :
    
    

To do

  • Change the Discord code to make it easily customisable

About

Generating specific alarts to Discord regarding crypto

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages