Skip to content

[New Command]: cowsay Command for Fun ASCII Art #3

@lcox74

Description

@lcox74

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:
    The cowsay command 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 of cowsay, 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.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    command-requestThis issue is requesting a new command to be added to the botenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions