Doge Discord Bot
實驗室採用 Line 作為快速溝通的管道,但是學長並不常使用記事本紀錄事情,很多時候要自己翻紀錄,很麻煩。
最近在尋找能夠快速事件、又與紀錄消息有關的功能,結果找一找發現撰寫 Discord Bot 非常容易。
Discord Bot 只需要註冊帳號、文字頻道、一台聯網電腦即可直接運作。
功能
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
原本只是想要快速紀錄事情,結果就變成製作 Doge 遊戲王卡,提供快速製作遊戲王卡。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
資料來源
程式碼
可參考 Github,編輯中,尚未上傳
圖片
2022/8/25
- 找了很多方案包含是否使用 Vulkan 自己去畫畫,後來發現 python PIL 就可以達到目的。
- PIL Image 函式庫本身沒有提供 Text wrap 功能,要自己去算。中英文又不一樣不能套用規則。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
2022/8/27
遊戲王卡片名稱會的欄位寬度有限,文字太多會縮緊。
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
2022/8/28
加上屬性,屬性有分英文跟中文
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →