From daf1bffcb6be21a347909dec5c263c7b89888f8f Mon Sep 17 00:00:00 2001
From: Sid <93219711+SindreKjelsrud@users.noreply.github.com>
Date: Thu, 24 Feb 2022 12:10:24 +0100
Subject: [PATCH] cleaned up main a little

---
 main.py | 48 ------------------------------------------------
 1 file changed, 48 deletions(-)

diff --git a/main.py b/main.py
index 0b9e8e8..8130317 100644
--- a/main.py
+++ b/main.py
@@ -134,51 +134,3 @@ keep_alive()
 
 # run bot
 client.run(my_secret)
-
-
-
-
-###############################
-
-#from requests import Request, Session
-#from requests.exceptions import ConnectionError, Timeout, TooManyRedirects
-
-###############################
-
-# crypto API
-# def get_crypto():
-#   url = 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest'
-#   parameters = {
-#     'start':'1',
-#     'limit':'5000',
-#     'convert':'USD'
-#   }
-#   headers = {
-#     'Accepts': 'application/json',
-#     'X-CMC_PRO_API_KEY': '5c96c638-c66f-4ddb-9c5d-7a77d5d83258',
-#   }
-
-#   session = Session()
-#   session.headers.update(headers)
-
-#   try:
-#     response = session.get(url, params=parameters)
-  
-  
-#   #res = response.json()
-#   #name = res['name']
-#   #id = res['id']
-#   #tags = res['tags']
-#   #crypto = discord.Embed(title = f'{id}\nMiniable: {tags}')
-
-#     json_data = json.loads(response.text)
-#     return(json_data)
-#   except (ConnectionError, Timeout, TooManyRedirects) as e:
-#     return(e)
-
-################################
-
-  # crypto - *not working*
-#  elif message.content.lower().startswith("!crypto"):
-#    crypto = get_crypto()
-#    await message.channel.send(crypto)