MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.62k stars 391 forks source link

[Idea] Discord DM Chatbot #2599

Open Art0sh opened 11 months ago

Art0sh commented 11 months ago

Prerequisites

Console Client Version

Latest

Describe your problem

I want to request a feature for Chatbots/the Bot generally: As there already is discord bridge, I think it should/could be possible in scripts to send additional messages to specific channels, for example send the chat, as normal, in the specificed guild+channel, but also send it eg to the set owners using a dm, like sendPrivateDiscord(message), so I can look up the whole chat in the given channel, but also get more notable notifications when I get an private message on the bot, or something else matches the set up chatbot.

Suggest a possible solution

View previous text, I guess

Attach screenshot here (If applicable)

No response

Minecraft Version

1.20

Device

VPS

Operating System

Linux

Nekiplay commented 11 months ago

You can write it yourself in a script

Art0sh commented 11 months ago

You can write it yourself in a script

And how? I didn't see a way to send messages in Discord with a self-written chatbot script...

Nekiplay commented 11 months ago

And how? I didn't see a way to send messages in Discord with a self-written chatbot script...

Use requests or other libs in your script

milutinke commented 9 months ago

I plan on re-writing the Discord chat bot to have an option for DMs, and multiple channels. But it won't be done any time soon.