-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Summary
This proposal requests the addition of a /cowsay command to our Discord bot. The command will generate ASCII art that mirrors the functionality of the traditional cowsay(1) Linux command. Users will supply a message that the cow will "speak," and the output will be displayed as a code block in Discord to maintain formatting.
Problem / Motivation
-
Developer Culture & Humor:
Thecowsaycommand is a beloved classic among developers. Incorporating it into our bot serves as a nod to our community's shared humor and legacy. -
Engagement:
This feature adds a playful element to our bot’s functionality and reinforces our tradition of including dev-centric utilities in our Discord servers. -
Tradition:
Many of our other servers have similar implementations ofcowsay, and adding it here continues the culture we’ve built.
Command/Application Details
-
Name:
/cowsay -
Invocation / Trigger:
/cowsay "Your message here"
Users must include the message they want the cow to say.
-
Purpose & Functionality:
- Input:
Accepts a string message as input. - Processing:
Generates a speech bubble around the message and appends the classic ASCII art cow. - Output:
Outputs the entire result as a code block so that the ASCII art retains proper formatting.
- Input:
-
Parameters & Options:
message(required, type: string): The text the cow should say.- Optional Future Extension: Parameter to choose alternative cow templates.
-
Permissions & Role Restrictions:
- This command should be available to all users without special permission requirements.
Testing & Validation
-
Basic Message:
Run/cowsay "Hello, world!"and verify that the ASCII art is generated as expected. -
Edge Cases:
Handle empty messages or messages with special characters. Previous implementations had the fun test case which users would specifically mess with the response with the special characters. -
Formatting:
Validate that the reply retains the proper spacing and alignment within Discord code blocks.