瀏覽代碼

(modify):只允许raydium交换

windowdog 2 月之前
父節點
當前提交
08f363dcd9
共有 1 個文件被更改,包括 2 次插入2 次删除
  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"