Skip to content

Commit

Permalink
kojii
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan committed Dec 14, 2023
1 parent f3d654a commit d1ee3d7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 42 deletions.
31 changes: 0 additions & 31 deletions src/bots/kojii/KojiiAssistantCog.py

This file was deleted.

11 changes: 11 additions & 0 deletions src/bots/kojii/KojiiCharacterCog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from discord.ext import commands
from cogs.CharacterCog import CharacterCog


class KojiiCharacterCog(CharacterCog):
def __init__(self, bot: commands.bot) -> None:
super().__init__(bot)


def setup(bot: commands.Bot) -> None:
bot.add_cog(KojiiCharacterCog(bot))
15 changes: 4 additions & 11 deletions src/bots/kojii/KojiiGeneratorCog.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
from discord.ext import commands
from cogs.CharacterGeneratorCog import CharacterGeneratorCog

from cogs.GeneratorCog import GeneratorCog, LoraInput


class KojiiGeneratorCog(GeneratorCog):
class KojiiCharacterGeneratorCog(CharacterGeneratorCog):
def __init__(self, bot: commands.bot) -> None:
lora = LoraInput(
lora_id="65642f6a730b5e00f6f243d6",
lora_strength=0.65,
lora_trigger="kojii",
require_lora_trigger=True,
)
super().__init__(bot, lora)
super().__init__(bot)


def setup(bot: commands.Bot) -> None:
bot.add_cog(KojiiGeneratorCog(bot))
bot.add_cog(KojiiCharacterGeneratorCog(bot))

0 comments on commit d1ee3d7

Please sign in to comment.