adding dedicated cowboy function

This commit is contained in:
Luke Robles 2022-08-21 10:20:29 -05:00
parent 38f61a4aad
commit 023968a83e
4 changed files with 13 additions and 2 deletions

View File

@ -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"

View File

@ -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

View File

@ -29,6 +29,7 @@ def get_help_message(method):
"\nUsage: !bf5 <your origin account name>",
],
"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",

View File

@ -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: