Browse Source

(modify):只允许raydium交换

windowdog 2 months ago
parent
commit
08f363dcd9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/code/telegram_get_gmgnalertbot_sol.py

+ 2 - 2
src/code/telegram_get_gmgnalertbot_sol.py

@@ -411,8 +411,8 @@ async def handle_incoming_GMGN_bot_NewMessage(event):
     for idx,split_message in enumerate( arr_total_split_message):
         split_message=split_message.strip()
         if idx == 0 and "...." in split_message:
-            if "pump" in split_message:
-                print("platform is pump pass")
+            if "on raydium" not in split_message:
+                print("platform is not raydium")
                 return
             if "🔴" in split_message:
                 str_swap_type = "sell"