Giter Club home page Giter Club logo

Comments (21)

bsian03 avatar bsian03 commented on July 17, 2024

NAB? I don't see how that would be helpful

from cross-server-bot.

bsian03 avatar bsian03 commented on July 17, 2024

Happens due to allowed mentions

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

no i gave the bot full admin

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

its not doing any mentions

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

image

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

image

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

image

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

so in the second server it doesnt mention everyone even tho it has full permissions and is an admin
I've tried with and without enhanced mention. Changed to code to not parse at all and nothing has fixed it
everything else has worked well for me.

from cross-server-bot.

Khaaz avatar Khaaz commented on July 17, 2024

As Bsian stated it's because of allowedMentions, a change made by discord to mention that will block everyone mention unless specified.
The bot blocks everyone mention to prevent abuse by default.
If you really need to be able to mention everyone, I can tell which line to change.

from cross-server-bot.

Khaaz avatar Khaaz commented on July 17, 2024

Also seeing your config, #17 will be solved by using the role ids and not the role name as stated in the issue.

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

yeah figured out number 17
please if u could tell me the line to change

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

ill be so grateful im trying to use this for moderating multiple servers from a centralized server and have modified it to fit my purposes this is the one thing I'm stuck with now.

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

one more update even with enhanced mention turned on no mentions are working

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

the bot is an admin in all servers and has all permissions

from cross-server-bot.

Khaaz avatar Khaaz commented on July 17, 2024

I'll need to do some testing for mentions and I'll probably patch that directly in this repo. I'll keep you in touch directly in this issue when it's solved.

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

Any updates on this. Thanks. Even if you just tell me which part is stopping the mentions I could fix it. I looked through the code couldn't figure out where.

from cross-server-bot.

Khaaz avatar Khaaz commented on July 17, 2024

haven't had the time to get around that.
It's due to the allowedMentions property to pass around when executing a webhook (see here)

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

can you tell me which line of the code

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

update: i got the bot to tag everyone but it now sends the message twice once with the tag once as plain text
something to do with the enhance mention function
working on that now

from cross-server-bot.

JSai23 avatar JSai23 commented on July 17, 2024

update: for my purposes, i didn't need enhanced mention so I got rid of it since it was causing the double @everyone. For now its working for my purposes fully. I use it as a bot for common announcements and trading signals across a multitude of servers from a master server so.

from cross-server-bot.

Khaaz avatar Khaaz commented on July 17, 2024

thanks for the update.
I'll still need to update the bot to make mentions work correctly out of the box so I'll let the issue open for now.
Glad you managed to make it work like you expected!

from cross-server-bot.

Related Issues (20)

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.