diff --git a/app/animals.py b/app/animals.py index 402d5607..b20d8fb5 100644 --- a/app/animals.py +++ b/app/animals.py @@ -121,3 +121,7 @@ def get_rat(): def dale(): return random.choice(glob.glob("/tmp/dale/*")) + + +def cowboy(): + return "https://i.imgur.com/RAFfsk7.png" diff --git a/app/cogs/animal_functions.py b/app/cogs/animal_functions.py index eefb2194..f750e362 100644 --- a/app/cogs/animal_functions.py +++ b/app/cogs/animal_functions.py @@ -59,7 +59,12 @@ class AnimalFunctions(commands.Cog): await ctx.reply(animals.get_birb()) - @commands.command(name="dale", aliases=["cowboy"]) + @commands.command(name="cowboy") + async def cowboy(self, ctx: commands.Context): + + await ctx.reply(animals.cowboy()) + + @commands.command(name="dale") async def dale(self, ctx: commands.Context): # If the file picked is too large, try again diff --git a/app/help_methods.py b/app/help_methods.py index 828f3102..81bcafe6 100755 --- a/app/help_methods.py +++ b/app/help_methods.py @@ -29,6 +29,7 @@ def get_help_message(method): "\nUsage: !bf5 ", ], "dale": ["Posts a photo or video of Dale, the goodest boy.", "\nUsage: !dale"], + "cowboy": ["Posts a photo of a bad dog.", "\nUsage: !cowboy"], "redpanda": ["Returns a random red panda photo", "\nUsage: !redpanda"], "panda": ["Returns a random panda photo", "\nUsage: !panda"], "koala": ["Returns a random koala photo", "\nUsage: !koala"], @@ -252,6 +253,7 @@ def get_help_embed(bot): "pictures of animals": [ "birb", "cat", + "cowboy", "dale", "dog", "fox", diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index efdf3da9..3b9fdab5 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "dragon-bot.fullname" . }} - namespace: {{ .Values.namespace}} + namespace: {{ .Values.namespace }} labels: {{- include "dragon-bot.labels" . | nindent 4 }} spec: