Skip to content

Commit

Permalink
capitalzartion
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Baji committed Jul 12, 2024
1 parent 731ac08 commit 91b23fe
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 20 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion discordai/bot/__init__.py
Original file line number Diff line number Diff line change
@@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion discordai/bot/cogs/chatgpt.py
Original file line number Diff line number Diff line change
@@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion discordai/bot/cogs/customai.py
Original file line number Diff line number Diff line change
@@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion discordai/bot/cogs/imageai.py
Original file line number Diff line number Diff line change
@@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion discordai/bot/cogs/openai.py
Original file line number Diff line number Diff line change
@@ -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
"""
Expand Down
18 changes: 10 additions & 8 deletions discordai/bot/cogs/sync.py
Original file line number Diff line number Diff line change
@@ -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
"""
Expand Down Expand Up @@ -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
Expand All @@ -44,22 +44,24 @@ 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)

@commands.command(
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.
Expand All @@ -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
Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion discordai/command_line/subparsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
discord.py
openai==1.35.5
appdirs
discordai_modelizer @ git+https://github.com/A-Baji/[email protected].8
discordai_modelizer @ git+https://github.com/A-Baji/[email protected].9
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
name=package.__name__,
version=package.__version__,
author_email="[email protected]",
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",
Expand Down

0 comments on commit 91b23fe

Please sign in to comment.