chore: update to v0.2.4 and remove useless code
This commit is contained in:
parent
3bc4e19de1
commit
24c52cafc5
5 changed files with 5 additions and 53 deletions
|
|
@ -15,10 +15,10 @@ type: application
|
|||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.2.3
|
||||
version: 0.2.4
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "0.2.3"
|
||||
appVersion: "0.2.4"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ image:
|
|||
# This sets the pull policy for images.
|
||||
pullPolicy: Always
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "0.2.3"
|
||||
tag: "0.2.4"
|
||||
|
||||
# This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
imagePullSecrets: []
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "huesoporro"
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
description = "Misc Twitch bots"
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
|
|
|
|||
|
|
@ -114,54 +114,6 @@ class Bot(commands.Bot):
|
|||
self.generation_routine.cancel()
|
||||
|
||||
|
||||
class SaveMessagesCog2(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
self.store_svc = SentenceStorerSvc(db=MarkovDB(channel=bot.channel))
|
||||
self.hello_svc = HelloGeneratorSvc()
|
||||
self.backoff_svc = BackoffService()
|
||||
|
||||
@commands.Cog.event()
|
||||
async def event_message(self, message):
|
||||
content = message.content
|
||||
if content.startswith("!"):
|
||||
return
|
||||
|
||||
if not message.author:
|
||||
return
|
||||
|
||||
await self.store_svc.run(content)
|
||||
|
||||
if message.content in ["hola", "HOLA", "hiii", "ayo"]:
|
||||
hello_message = self.hello_svc.run(message.author.name)
|
||||
await message.channel.send(hello_message)
|
||||
return
|
||||
|
||||
if message.content == "Yes":
|
||||
await message.channel.send("Indeed")
|
||||
return
|
||||
|
||||
if message.content.startswith("WHAT"):
|
||||
await message.channel.send("WHAT Ramon")
|
||||
return
|
||||
|
||||
laughs_messages = [
|
||||
"om",
|
||||
"KEK",
|
||||
"LuL",
|
||||
"LUL",
|
||||
"OMEGALUL",
|
||||
"kek",
|
||||
"keking",
|
||||
"KEKW",
|
||||
"OMEGADANCEBUTFAST",
|
||||
]
|
||||
|
||||
if message.content in laughs_messages:
|
||||
await message.channel.send(random.choice(laughs_messages)) # noqa: S311
|
||||
return
|
||||
|
||||
|
||||
class MessageType(StrEnum):
|
||||
COMMAND = "COMMAND"
|
||||
HELLO = "HELLO"
|
||||
|
|
|
|||
2
uv.lock
generated
2
uv.lock
generated
|
|
@ -460,7 +460,7 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "huesoporro"
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
source = { virtual = "." }
|
||||
dependencies = [
|
||||
{ name = "aiosqlite" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue