0% found this document useful (0 votes)
17 views3 pages

Interview Task - Discord Bot

Interview task for discord bot application

Uploaded by

shaumi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

Interview Task - Discord Bot

Interview task for discord bot application

Uploaded by

shaumi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Task: Discord Bot Application with .

NET Backend and


React Frontend
Task Overview:
You are tasked with creating a Discord bot application that integrates with an external API
and a database. The bot should be able to respond to specific commands from users in a
Discord channel, interact with an API to save data to a database, and have a separate UI
interface built using React for ‘behind the scenes’ bot configuration.
This is design to be a challenge, both on your technical skills and the time constraints given.
We don’t expect you to 100% complete all the tasks here, do not use all of your time on a
single part if it is a struggle to implement, there is a broad set of skills we are trying to test.

Part of this challenge is assessing how you approach the implementation of a given feature,
ensure you are considering how implemented features may be used by an end user and how
they interact / integrate with the wider application.

User Requirements:
1. I would like my very own discord bot in my channel.
2. I want it to respond with PONG when I say PING in the channel.
3. I want to be able to set a timer and have the bot let me know when the time is up.
4. I want to be able to stop certain users in my channel from using the bot, I’d like to be
able to block these users without typing in the channel itself (privacy concerns)

Details:
1. Discord Bot Application:
• Connect to Discord API and join a specified channel.
• Respond to the command PING with PONG when typed by a user in the
channel.
• Respond to the command TIMER <time> where <time> is in minutes,
acknowledge receipt of the command, save the timer information to the
database via API, and after the elapsed time, send a message back to the user
in the Discord channel.

2. Backend API:
• Create a .NET API (using ASP.NET Core) to handle incoming requests from the
Discord bot.
• Implement an endpoint [POST] /timer to save timer information to a
database (we recommend some flavour of sql, SqlLite may be suitable for this
smaller application).
• Ensure that the API integrates seamlessly with the Discord bot application.
3. React Frontend:
• Develop a frontend interface using React.js for configuring the bot.

• Implement functionality to add users to a 'blocked' list.


• Ensure that when a user is added to the 'blocked' list, the bot will ignore
commands from those users and respond with an appropriate message.
• Add authentication to the frontend, requiring users to log in to access and
edit the bot's 'blocked' user list.
Additional Guidelines:
• Write clean, readable, and well-commented code.
• Implement error handling and validation where necessary.

• Use appropriate design patterns and best practices.


• Consider implementing unit / integration testing as part of your work

Systems Diagram:
Submission:
Please provide access to the project code / relevant documentation to Tom Raymond
(tom.raymond@ingentive.com) and Laurent Brickell (laurent.brickell@ingentive.com).
Work should be submitted at least 1 day prior to your 2nd interview date.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy