-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
ufoptg
wants to merge
283
commits into
TeamUltroid:main
Choose a base branch
from
ufoptg:patch-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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