DEV Community

Kavin Desi Valli
Kavin Desi Valli

Posted on • Originally published at livecode247.com on

2

A Discord bot for task management!

A few days back, I created a Discord Bot solely for task management. A minimal bot with only what's required without any of those confusing functionalities. Just add, assign(if needed) and tick off.

How to use it in your server?

The bot is published on top.gg and you can find it at https://url.kavin.me/discord-task-bot. Just click on the invite button and follow the steps. Screenshot 2021-07-23 at 8.03.38 PM.png

Prefix

Like most discord bots, the Task Manager bot has a prefix, t!.

Add a task

You can add a task by typing t!add <task>. You can also assign someone a task by mentioning them in the t!add command.

Examples:

  1. t!add This is a new task
  2. t!add This is a new task @mentioned-user

Screenshot 2021-07-23 at 8.08.41 PM.png

List all tasks

You can list all of the remaining tasks by typing t!list

Screenshot 2021-07-23 at 8.09.03 PM.png

Tick off a task

You can tick off a task from the list by typing t!done <id of task>. The ID of the task is the number which appears at the end of a task during t!list. In the screenshot attached earlier, it is 65

Screenshot 2021-07-23 at 8.10.33 PM.png

Show all done tasks

You can list all the tasks done by typing t!done-list

Screenshot 2021-07-23 at 8.11.27 PM.png

Remove a task from done and put it back in to be done

You can put a task back in the todo list by typing t!undo <id of task>

Screenshot 2021-07-23 at 8.12.33 PM.png

Help command

Finally, there is also a help command which lists all the commands you can use which you can get by typing t!help

Screenshot 2021-07-23 at 8.13.39 PM.png

That's it. And that's mostly everything you need in a task manager.

Note that the tasks are server specific and you cannot manipulate tasks across servers

Code

The code for the bot can be found at the following Github Repo. You're welcome to create any issues or contribute by creating a PR.

GitHub logo Task-Manager-Bot / discord-task-bot

A simple task management bot for Discord to work with your team without missing anything written in Javascript with Discord.js.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (1)

Collapse
 
falcao_g profile image
Falcão

Hey, that's pretty cool!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay