Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades, fixes, sorts and more! #439

Open
wants to merge 283 commits into
base: main
Choose a base branch
from
Open

Conversation

ufoptg
Copy link
Contributor

@ufoptg ufoptg commented Jan 24, 2024

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

plugins/tools.py Fixed Show fixed Hide fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants