Giter Club home page Giter Club logo

discord-echobot's Introduction

Aloha! ๐ŸŒบ My name is Mitch.

๐Ÿ’ป I'm a senior software engineer at ConexED.

๐ŸŽ“ In 2021 I received my Master of Science in Computer Science degree from the University of Utah.

๐Ÿค™ I have a passion for the Hawaiian culture, and I care deeply about preserving its beautiful language.

๐Ÿ›  In my free time I love to weld, fix cars, build electronics, go on hikes, and camp in the forest.

โ™ฅ My favorite languages are TypeScript, Golang, and Python, but I have extensive experience creating applications in a large number of languages with many of the most popular tools, libraries, and frameworks -- including AWS, GCP, Docker, React, Angular, Webpack, Spring, Node.JS, Zend, Laravel, and SO much more. I am never afraid to learn new technology, as my 12+ years of experience in Computer Science allow me to spot the inherent similarities between old and new tools and languages to make for a very quick ramp-up into any project.

๐Ÿ‘จโ€๐Ÿ’ป My software engineering experience covers everything from the web browser to embedded circuitry. I have created full-scale web applications in Angular, React, and Vue; I have helped companies achieve their goals in load balancing and auto-scaling with AWS; and I have constructed entire IoT ecosystems from start to finish -- including everything from the C++ embedded firmware, WiFi management libraries, Angular-based mobile setup app, RESTful API, Java Spring backend, and Angular-based device dashboard. For that project, I even used my knowledge in electrical engineering to help resolve problems in the IoT circuitry.

There is no project so big that I cannot help; I am extremely passionate about what I do, and I am ready to dive in and find eloquent solutions to any problem.


Github Stats

Reach out to me here: https://MitchTalmadge.com/contact

discord-echobot's People

Contributors

bishop-bd avatar maxichrome avatar mitchtalmadge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

discord-echobot's Issues

Update messages

Hi,
It would be great if this tool could also edit the destination message when the source one is updated.
Would this be possible soon ?

Feedback

Hi,
This does exactly what I need! And it just works!
I would like to know if the risk of ban is really important, since it is not an official bot?

What is the best way to support application maintenance ?
I wouldn't want to go in one direction and see that the application is no longer supported.
Thanks

Copying certain type of messages

Can we copy only that type of messages which we want to copy ?

like in a text channel.. chats are going on like this....

How it is?
That's true
What you want
1
Hey
2
Bro
3

In this , i only want to copy the message 1,2,3 and not any other thing..
So , how can i do that ?

Where in the code i have to modify?

Copying uploaded images from a message

Hi,

I've been using the bot for a while now and gotta say I really like it.
It has been doing all I wanted/needed it to do, so thanks for that.

I'm only experiencing one issue:
When the original message contains a image that has been uploaded to Discord (so not via a URL, but directly uploaded from the original poster's device), the bot doesn't copy the image.
Is there a way to do that? I was thinking that every image gets an own URL once it's been uploaded to Discord (for example https://cdn.discordapp.com/attachments/583252052814069774/601410645421981716/testimagediscord.png).

If the bot wouldn't be able to copy the image itself, would it be able to copy the URL of the image instead?

Thanks in advance.

Best regards

Directing certain channels to a specific channel

Not sure if its possible, but a feature that would direct certain channels to a specific channel instead of all the destinations if that makes sense. So channel A as the source would go to channel C and then channel B would go to channel D instead of how the current config is for channel A and B to go to both channel C and D. Separating channels to go to specific channels.

Bot working slowly

As many messages are sent in different sources ids at same point of time , then bot is pasting the messages very slowly in the destination id..

Can we make it fast so that it doesn't lat behind...
Sometimes when 50+ messages are there in the source at a same time , then bot is unable to paste the messages fast.. it is pasting but very slowly...

Can we make the bot FAST?

Trouble with setup

I am having trouble setting up my program. After I 'npm start' I get the following error message. Any tips would be greatly appreciated, thank you!
Screenshot 2021-02-11 140225

rich embed as normal text

just wanted to know

The bot copies all embeds perfectly, but is it possible that it can copy only the text in the embed and paste it as text and not as another embed???

Env variable when deploying to heroku

In Heroku settings there's actually a section for config vars, is this an appropriate place to put the env variable?

Since this is a BASH-style variable, I'm unsure how to key:value the data. Readme says formatting doesn't matter, but there are nested data values. Should I be using an associated array?

Cheers

Reply Messages

Would there be a way to show the message that the person is replying to using the new discord "Reply" feature?

Failure during install

C:\Users\Owner\Desktop\echo\discord-echobot-1.2.1>npm install

> [email protected] install C:\Users\Owner\Desktop\echo\discord-echobot-1.2.1
> tsc

error TS18003: No inputs were found in config file 'C:/Users/Owner/Desktop/echo/discord-echobot-1.2.1/tsconfig.json'. Specified 'include' paths were '["src/**/*"]' and 'exclude' paths were '["node_modules","**/*.spec.ts"]'.


node_modules/@types/node/index.d.ts:39:1 - error TS1084: Invalid 'reference' directive syntax.

39 /// <reference lib="es2017" />
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] install: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Owner\AppData\Roaming\npm-cache\_logs\2020-10-16T22_50_27_499Z-debug.log


2020-10-16T22_50_43_514Z-debug.log

Messages dropping that contain only an attached image

This line is appearing in my terminal output when a message contains no content other than an attached image. I've included screenshots of my config file (the section specific to this source) and the source message for reference. You can see in the log the very next message contained text and redirected normally. Rich embeds with attached images in other sources are working great. It's just when someone directly posts just an image in a message with no accompanying text that it seems to do this.

Thank you so much for this code. It's been a huge life saver for me to consolidate information from various sources and redirect them to individual channels on my own personal server for my own use. Being able to just go one place to get a ton of information is invaluable to me.
Terminal Output
Config File

Different options for different source

Hi, how can i apply different options (eg. title) for each different source?

For instance, for message coming from server A, it should be titled "server 1" and for message coming from server B, it should be titled "server 2".

I tried to duplicate the code but it is not running. Example:

{
"token": "mfa.yourtoken-shouldgoherejklsdfhsoiehfseihfseifbisoehfoisefise",
"redirects": [
{
"sources": [
"123456789321432454"
],
"destinations": [
"129863219696239848"
],
"options": {
"title": "Server 1",
"richEmbed": true,
"richEmbedColor": 30975,
"includeSource": true,
"removeEveryone": true,
"removeHere": true,
"copyRichEmbed": true
}
}
]

"token": "mfa.yourtoken-shouldgoherejklsdfhsoiehfseihfseifbisoehfoisefise",
"redirects": [
{
"sources": [
"124354366576899678"
],
"destinations": [
"129863219696239848"
],
"options": {
"title": "Server 2",
"richEmbed": true,
"richEmbedColor": 30975,
"includeSource": true,
"removeEveryone": true,
"removeHere": true,
"copyRichEmbed": true
}
}
]
}

Thanks.

Error when copying message from channel where bot is unable to send messages but can read

2020-08-17T08:15:46.091Z [INFO]: Configuration loaded successfully.
2020-08-17T08:15:46.927Z [INFO]: Signed into Discord.
2020-08-17T08:15:52.255Z [INFO]: Redirecting message by Channel.TV from Channel.TV/live-discussion to Channel.TV/old
(node:17964) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
at C:\Users\Administrator\Desktop\discord-echobot-master - v2\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:85:15
at C:\Users\Administrator\Desktop\discord-echobot-master - v2\node_modules\discord.js\node_modules\snekfetch\src\index.js:215:21
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:17964) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:17964) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

How to remove "Author" from source message?

Hi, could someone assist me please, I've tried removing parts of the code but it stops working.

I just want to remove the Author text, and just show the source message + the server name (not the channel path).

ps; is it possible to alternate colours from different channels?

H10 error on Heroku

Worked briefly, got Pong and messages were copied on Discord.

10 minutes later getting crashed error, unable to ping.

Problem adding multiple redirections

I need multiple redirections with one source and one destination. I tried adding a second one and according to the output it works:

Schermafbeelding 2019-04-30 om 21 17 17

Schermafbeelding 2019-04-30 om 21 18 13

However, the second message is not showing up in my server. When I change one of the options, for example includeSource (no matter if it's in the first or second redirect) they DO both show. Any idea why?

Pictures and hyperlink titles

Hi, this bot is extremely good, but it does not copy that well from already embedded sources. Some of the embedded sources I am trying to redirect have pictures and/or hyperlinks as their title which do not show up. Perhaps maybe include options for this in the next update? Thank you!

x

x

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.