Comments (6)
This most likely means that for this specific server the webhook doesn't work. It can be because of a bug of another sort, but in 90% of case it just mean that your config for this webhook is not correct (invalid token or id). Double check your config and make sure the webhook is correctly set-up.
Make sure the bot has sufficient permissions as well.
In case this issue still happens after you triple checked and you are 100% sure the webhook is correctly setup in your config and in your server, you can come back here for further investigations.
from cross-server-bot.
alright I'm pretty sure the webhook id is fine because I tried swapping the webhook id and token of the two servers and from my testing what happened was the bot was linking the channel to itself which means it was sending the message to the same channel now when I swapped the webhook id and token back it was back to normal.
also the problem is only that the bot can't copy the embed from the minecraft bot and send it to the other server. but it can send messages normally from one server to other if it's just text or images.
from cross-server-bot.
I tested it more, it seems embeds from bots are the only messages that can't be copied but images from text and images and links can be sent to the other server.
from cross-server-bot.
I see, that makes sense. An easy fix is to stop all messages from bot, or prevent bots from talking in the channel. I apparently have not added support for embeds. It's basically trying to send an empty message which fails.
I'll add that to the TODO list. Thanks for the report, this is a valid issue 👍🏻
from cross-server-bot.
Yeah this message is really annoying. if it could at least have a disable function in the config or something I'd really appreciate it.
from cross-server-bot.
The simplest way is to actually disable bots from sending messages in the configs
Otherwise you can remove these lines here: https://github.com/Khaaz/Cross-Server-Bot/blob/master/src/utils.js#L59-L67
from cross-server-bot.
Related Issues (20)
- TypeError: config.guilds is not iterable HOT 4
- Assistance Needed HOT 1
- Bot keeps crashing HOT 1
- Deleting a message will sometimes not properly delete it on linked servers HOT 2
- None of the commands are working and no way to delte HOT 4
- Mentioning @everyone does not work in the other channels. HOT 21
- TODO HOT 6
- Enhanced mentions aren't working.
- Webhooks
- Deleting messages crashes the bot HOT 1
- Adding a set webhook to send the message when the bot is online HOT 1
- How do I run this on the discord server instead of my PC? HOT 26
- bot crash with error when start it
- Need help with WebHooks not working
- Bot not starting - npm and Node.js both up to date on ubuntu 16.04.6 LTS [Debug log attached] HOT 8
- Multiple linked sets of channels HOT 5
- message deleted by bot (suggestion) HOT 9
- When linking more than 2 channels together message appears on all of them HOT 2
- Error with cyrillic charathers in nickname HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross-server-bot.