Comments (14)
- Yes, you need to create a webhook for both channels.
- You take the token & id from the token url you get when creating (or editing) the token. A webhook url looks something like this:
https://ptb.discordapp.com/api/webhooks/1234/5ac6gf7ty8
.
Afterwebhooks/
would be your token id (1234). After the id (plus slash) comes the token (5ac6gf7ty8)
from cross-server-bot.
That's what exactly what I've done. I have created a webhook in both channels, and updated the "whID": "232323" and "whToken": "webhookToken2323" for both channels accordingly.
from cross-server-bot.
Do you want if I discuss with you in discord?
from cross-server-bot.
So, it works, yes?
from cross-server-bot.
nope, the bot goes online, and the message "Bot Ready - Cross Server system operational!" is posted in both channels. But after that, it doesn't copy messages typed in Channel A, and paste it in Channel B.
from cross-server-bot.
Do you get any error messages in the console?
from cross-server-bot.
No, there is no error message in the console. See picture below.
from cross-server-bot.
Interesting.
from cross-server-bot.
Perhaps check that the bot has read message permissions for both those channels?
from cross-server-bot.
Make sure the bot has readMessages perms in all channels linked.
If the issue get resolved after this notify us here. Otherwise i suggest coming in discord directly, it will be easier to resolve the issue.
from cross-server-bot.
I gave the bot all permissions, even manage message permissions. But it still doesn't work.
Can I have the link to your discord server, or your discord ID? thanks
from cross-server-bot.
from cross-server-bot.
The issue was caused by the two channels linked being in the same server.
This is not achievable at the moment as this was not the primary design of this bot.
Support for this will be added in further version as the usability of it is proven to be useful.
Closing the issue.
from cross-server-bot.
Support for this was officially added in v2.
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
- What is with this "webhook unavailable" message when an embed is sent 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.