# discord 抽獎機器人進階版 [ 支援帳號多開+多頻道+多關鍵字部位偵測 ] **Published by:** [scientist](https://paragraph.com/@scientist/) **Published on:** 2022-02-09 **URL:** https://paragraph.com/@scientist/discord ## Content 超級感謝 科學狗友 saiba 將之前的 discord 抽獎機器人 加以改良成更具彈性且更多功能的進階版,非常感謝科學狗付出! ( !woof !woof 經過狗友 saiba 的巧手改良後,目前 discord 抽獎機器人已支援以下功能:discord 多帳號抽獎 ( 多個 authorization id ,同時抽獎 )多項目抽獎頻道抽獎 ( 填入 channel id )針對個別抽獎頻道的不同關鍵字及出現的位置做偵測 ( 本次更新,即便關鍵字在內嵌訊息內出現,一樣能偵測出來幫你抽哦— 如下附圖 )針對個別抽獎頻道指定的表情符號做客製 ( 有些抽獎是指定按香蕉 )關於如何取得 authorization id 及 discord channel id 請參考之前文章介紹( 4. 即便標題空白,此例關鍵字設定為 “WL”一樣抽得到 ) 關於 4. 不同抽獎頻道所指定的表情編碼,可至此處查詢Emoji unicode characters for use on the webThis page is historical: For a fuller and more up-to-date list of Emoji codepoints, see Unicode's Full Emoji List…apps.timwhitlock.info 修改範例:先找到要填的表情符號,以下圖為例將該行右側字串複製下來,如此例為 \xF0\x9F\x8E\x89將字串內的 \x 取代為 %以上例取代後的字串將為 => “%F0%9F%8E%89”放到程式碼內 emojis_to_click 後面那個欄位即可 (字串前後要加雙引號 ) 關於 saiba 大整理好的程式碼,連結在此https://discord.com/channels/900395375142252584/929939732874543185/935606045705900033( 程式碼於該頻道內 )最後順便廣告一下這個頻道Discord - A New Way to Chat with Friends & CommunitiesDiscord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends…discord.com 這個頻道是收集大家所知道有時常舉辦抽獎的 discord 項目,目前已有 18 項左右,都是狗友接力而來。 未來我會準備一個表格開放大家編輯,最好可以再自動產出設定檔格式,這樣大家之後複製到抽獎機器人設定檔會更方便,大家一起抽白單爆擊起來 🎉🎉🎉補充科學狗 Max 大最近也發現了有一些頻道開始有機器人誘餌出現, 大家使用機器人要多小心別中陷阱了哦 😆😆 ## Publication Information - [scientist](https://paragraph.com/@scientist/): Publication homepage - [All Posts](https://paragraph.com/@scientist/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@scientist): Subscribe to updates - [Twitter](https://twitter.com/alertcat_eth): Follow on Twitter