Upgrades, fixes, sorts and more!
This is just a small PR with some little updates... there is lots more but start with something like this see what yous thinking. just talk to us if heading the right way got lots more
Changes include
Upgrades Chatbot Upgrade and Fix and to use PaLM 2 or Gemini ~ tested and working
New ~ Added OpenAI Api key and 🌀ʊʄ⊕ք🌀 API key, Openweather API, and Google API key Buttons to settings > API Keys ~ Added UFoP Banner to Check and ban like Ultroid Bans if Enabled ~ Added SoundCloud support for link downloads via YouTube plugin ~ Added weather plugin ~ Added Custom MarkDown to fns. ~ Added Gemini_Helper to fns ~ Added to small funcs in helper.py check_reply_to function ~ Added DALL-E-3XL img gen ~ Added **ChatGPTs**
Fixes Sangmata command to use .sg(For Name) or .sgu(For Username) Setwarns function Translator ShortURL function Strings
OTHER Applied custom markdown to **gcasts** and afk Gbans are now logged in log_channel
Introduced the Keys class for better readability for example. Keys.LOG_CHANNEL rather than **udB.get_key("LOG_CHANNEL")**
Assistant now sends PM and Message to LOG_CHANNEL, When you turn chatbot on also if you have sudo users and they are in the LOG_CHANNEL they can also reply to users via your assistant.
Example usage of custom markdown
from pyUltroid.fns.custom_markdown import CustomMarkdown
ultroid_bot.parse_mode = CustomMarkdown() await ultroid_bot.send_message( "@UltroidSupportChat", "Hello, this is a spoiler message! and this is an emoji without the () around emoji/5971944878815317190 [💠]emoji/5971944878815317190" )
there is more too... ^^^
~ @TrueSaiyan