Bookcliff / discord-bot-gm

MIT License
0 stars 0 forks source link

GM Bot Fixes #1

Open Bookcliff opened 2 years ago

Bookcliff commented 2 years ago

The purpose of this project is to have a bot send "GM" to specific channels/users. There are two things I want to accomplish.

  1. The bot should automatically send "GM" to the server at 08:00 AM every morning.
  2. The bot should automatically send "GM" as a DM to preselected users each day at 08:00 AM in the morning.

To accomplish 1. I need to:

To accomplish 2. I need to:

When these are both complete, I would like to set up a front end so that users can input the specific users they want to DM with GM. To do this, I will use the Next.js framework.

RusseII commented 2 years ago

The bot should automatically send "GM" to the server at 08:00 AM every morning. The bot should automatically send "GM" as a DM to preselected users each day at 08:00 AM in the morning.

I would much rather see this send a GM when a discord user opens discord for the first time. As a recipient I would enjoy this more.

To accomplish 2. I need to:

Why don't you need these same things in number 1?

Additional Questions

What's the current state of the project? Is CleanShot 2022-06-02 at 16 45 36@2x the bot that's being used?

RusseII commented 2 years ago

If the vercel function is already functional I would suggest editing it so it accepts query parameters for where it's sending the message and the message content, then building a better discord plugin that is what sends the API call to your serverless function.

Bookcliff commented 2 years ago

Based on @RusseII feedback, I will alter the purpose to have the bot message "GM" to specified channels and private chats upon first opening discord each day. To do this, I will use better discord, next.js, and vercel.

RusseII commented 2 years ago

The working code is currently within a next.js framework. I need to integrate the current code with better discord's library.

You could do this in a separate repo if that makes sense. Or the current one

Use better discord's library to trigger the bot when a user first opens discord.

"Make API call to vercel API endpoint"

Build a front-end so that the user can specify where it's sending the message, as well as alter the message content if needed.

This should be part of the better discord plugin, and would do this after the basic version is working.