Skip to content

Task 4: Use discord.ext.commands to make a better bot #4

@JayDwee

Description

@JayDwee

Describe the solution you'd like

  1. Create your ping command using ! as a command prefix (see slide 14)
  2. Create a command that says hello to you using your provided name (command: !hi Jack --> bot replies:hello Jack!)
  3. If a name isn't provided use the senders discord tag (e.g. !hi --> hello JayDwee!)
  4. Use slide 16 to help make a command that responds with the number of arguments provided, as well as returning them sorted in alphabetical order
  5. Split some of your commands into separate cogs (docs)

Docs: https://discordpy.readthedocs.io/en/latest/ext/commands/commands.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions