diff --git a/CHANGELOG.md b/CHANGELOG.md index 53f1a43..cf1cb37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and ### Changed -- updated modelizer to version [3.0.8](https://github.com/A-Baji/discordAI-modelizer/releases/tag/3.0.8) +- updated modelizer to version [3.0.9](https://github.com/A-Baji/discordAI-modelizer/releases/tag/3.0.9) - updated and pinned openai to version 1.35.5 - includes various updates to the included slash commands - updated DiscordChatExporter to version 2.43.3 @@ -38,7 +38,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and ### Added - a changelog -- an openAI image generation command +- an OpenAI image generation command - the gpt3.5 model to the openai command and made it the default - a chatGPT command with chat history functionality - custom emoji support for custom models. @@ -50,7 +50,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and ### Changed -- made prompt bolding for custom model completions a discord command parameter +- made prompt bolding for custom model completions a Discord command parameter - updated modelizer to version [2.0.0](https://github.com/A-Baji/discordAI-modelizer/releases/tag/2.0.0) ## [1.3.2] - 02-22-2023 diff --git a/discordAI-modelizer b/discordAI-modelizer index 0e7def1..fd5c5c9 160000 --- a/discordAI-modelizer +++ b/discordAI-modelizer @@ -1 +1 @@ -Subproject commit 0e7def1e3a8eb0408466db316221e51a5105956b +Subproject commit fd5c5c9859b0706f2ea3fda1604dea48bc60230f diff --git a/discordai/bot/__init__.py b/discordai/bot/__init__.py index 9230f55..337667e 100644 --- a/discordai/bot/__init__.py +++ b/discordai/bot/__init__.py @@ -1,7 +1,7 @@ """ Copyright © Krypton 2019-2022 - https://github.com/kkrypt0nn (https://krypton.ninja) Description: -🐍 A simple template to start to code your own and personalized discord bot in Python programming language. +🐍 A simple template to start to code your own and personalized Discord bot in Python programming language. Version: 5.4.1 """ diff --git a/discordai/bot/cogs/chatgpt.py b/discordai/bot/cogs/chatgpt.py index 7ee2069..72d0ed9 100644 --- a/discordai/bot/cogs/chatgpt.py +++ b/discordai/bot/cogs/chatgpt.py @@ -1,7 +1,7 @@ """" Copyright © Krypton 2019-2022 - https://github.com/kkrypt0nn (https://krypton.ninja) Description: -🐍 A simple template to start to code your own and personalized discord bot in Python programming language. +🐍 A simple template to start to code your own and personalized Discord bot in Python programming language. Version: 5.4.1 """ diff --git a/discordai/bot/cogs/customai.py b/discordai/bot/cogs/customai.py index b5b64b6..5960837 100644 --- a/discordai/bot/cogs/customai.py +++ b/discordai/bot/cogs/customai.py @@ -1,7 +1,7 @@ """" Copyright © Krypton 2019-2022 - https://github.com/kkrypt0nn (https://krypton.ninja) Description: -🐍 A simple template to start to code your own and personalized discord bot in Python programming language. +🐍 A simple template to start to code your own and personalized Discord bot in Python programming language. Version: 5.4.1 """ diff --git a/discordai/bot/cogs/imageai.py b/discordai/bot/cogs/imageai.py index 6629cff..0f420f2 100644 --- a/discordai/bot/cogs/imageai.py +++ b/discordai/bot/cogs/imageai.py @@ -1,7 +1,7 @@ """" Copyright © Krypton 2019-2022 - https://github.com/kkrypt0nn (https://krypton.ninja) Description: -🐍 A simple template to start to code your own and personalized discord bot in Python programming language. +🐍 A simple template to start to code your own and personalized Discord bot in Python programming language. Version: 5.4.1 """ diff --git a/discordai/bot/cogs/openai.py b/discordai/bot/cogs/openai.py index 54c77a7..6467d56 100644 --- a/discordai/bot/cogs/openai.py +++ b/discordai/bot/cogs/openai.py @@ -1,7 +1,7 @@ """" Copyright © Krypton 2019-2022 - https://github.com/kkrypt0nn (https://krypton.ninja) Description: -🐍 A simple template to start to code your own and personalized discord bot in Python programming language. +🐍 A simple template to start to code your own and personalized Discord bot in Python programming language. Version: 5.4.1 """ diff --git a/discordai/bot/cogs/sync.py b/discordai/bot/cogs/sync.py index 85235fd..c570882 100644 --- a/discordai/bot/cogs/sync.py +++ b/discordai/bot/cogs/sync.py @@ -1,7 +1,7 @@ """" Copyright © Krypton 2019-2022 - https://github.com/kkrypt0nn (https://krypton.ninja) Description: -🐍 A simple template to start to code your own and personalized discord bot in Python programming language. +🐍 A simple template to start to code your own and personalized Discord bot in Python programming language. Version: 5.4.1 """ @@ -34,7 +34,7 @@ async def sync(self, context: Context, scope: str) -> None: embed = discord.Embed( title="Slash Commands Sync", description="Slash commands have been globally synchronized.", - color=0x9C84EF + color=0x9C84EF, ) await context.send(embed=embed) return @@ -44,14 +44,14 @@ async def sync(self, context: Context, scope: str) -> None: embed = discord.Embed( title="Slash Commands Sync", description="Slash commands have been synchronized in this guild.", - color=0x9C84EF + color=0x9C84EF, ) await context.send(embed=embed) return embed = discord.Embed( title="Invalid Scope", description="The scope must be `global` or `guild`.", - color=0xE02B2B + color=0xE02B2B, ) await context.send(embed=embed) @@ -59,7 +59,9 @@ async def sync(self, context: Context, scope: str) -> None: name="unsync", description="Unsynchonizes the slash commands.", ) - @app_commands.describe(scope="The scope of the sync. Can be `global`, `current_guild` or `guild`") + @app_commands.describe( + scope="The scope of the sync. Can be `global`, `current_guild` or `guild`" + ) async def unsync(self, context: Context, scope: str) -> None: """ Unsynchonizes the slash commands. @@ -74,7 +76,7 @@ async def unsync(self, context: Context, scope: str) -> None: embed = discord.Embed( title="Slash Commands Unsync", description="Slash commands have been globally unsynchronized.", - color=0x9C84EF + color=0x9C84EF, ) await context.send(embed=embed) return @@ -84,14 +86,14 @@ async def unsync(self, context: Context, scope: str) -> None: embed = discord.Embed( title="Slash Commands Unsync", description="Slash commands have been unsynchronized in this guild.", - color=0x9C84EF + color=0x9C84EF, ) await context.send(embed=embed) return embed = discord.Embed( title="Invalid Scope", description="The scope must be `global` or `guild`.", - color=0xE02B2B + color=0xE02B2B, ) await context.send(embed=embed) diff --git a/discordai/command_line/subparsers.py b/discordai/command_line/subparsers.py index ab3cf7f..0d35581 100644 --- a/discordai/command_line/subparsers.py +++ b/discordai/command_line/subparsers.py @@ -5,7 +5,7 @@ def setup_bot_start(bot_subcommand): - bot_cmd_start = bot_subcommand.add_parser("start", help="Start your discord bot") + bot_cmd_start = bot_subcommand.add_parser("start", help="Start your Discord bot") bot_cmd_required_named = bot_cmd_start.add_argument_group( "required named arguments" ) diff --git a/requirements.txt b/requirements.txt index ef78d1d..acade39 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ discord.py openai==1.35.5 appdirs -discordai_modelizer @ git+https://github.com/A-Baji/discordAI-modelizer.git@3.0.8 \ No newline at end of file +discordai_modelizer @ git+https://github.com/A-Baji/discordAI-modelizer.git@3.0.9 \ No newline at end of file diff --git a/setup.py b/setup.py index 0d8c472..115d6d5 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ name=package.__name__, version=package.__version__, author_email="bidabaji@gmail.com", - description="A discord bot driver package that utilizes openAI to create custom AI models out of your Discord chat history", + description="A Discord bot driver package that utilizes OpenAI to create custom AI models out of your Discord chat history", long_description=pathlib.Path("README.md").read_text(), long_description_content_type="text/markdown", url="https://github.com/A-Baji/discordAI",