Hide Bots from Members List



  • phencyclidine father
    My question is why would you like your bot to work in the background ?
    コメントアクション Permalink
  • Zariem

    If you coded your own bot, you can do that by setting his status to invisible. That will show your bot as offline. On large servers where offline members are hidden, this would effectively hide your bot in the user list. Otherwise it would just make your bot pop into the offline list.

    To make the bot appear offline, use bot.user.setStatus('invisible') where bot is your Discord.Client()
    You can for example invoke this in bot.on('ready', ...) so that he turns invisible on startup, and then he'd be invisible after you restart the bot. You could also implement commands that turn him invisible.

    I cannot say the same of global and publicly available bots. The online status is over all servers, and you changing it would change it on all the servers this bot is on, but from your question I assume that you talk about custom bots that are made for a server specifically.

    コメントアクション Permalink
  • SuperSajuuk
    I can see the idea behind this, but if it's your own bot, you could just have it always send an Invisible status payload when it starts.
    コメントアクション Permalink
  • chit-talk-justin

    I found an easy fix for this, FYI.

    Emojis are alphabetically after Z in Discord, so you can change your bot's nickname to start with an emoji (for example, I use 🤖) and then it will simply drop the bot down to the bottom of the ONLINE list.

    コメントアクション Permalink
  • ⎛⎝Mynamesticksout⎠⎞

    I understand what you are saying, and I agree. I manage a discord server for a youtuber and I want to keep a bot private so it can only be seen by members.



    コメントアクション Permalink
  • great01h

    what do you mean "server settings"? overview, roles emoji, etc?

    コメントアクション Permalink