question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Type

  • Functions: \ $ignoreChannels[channelID;channelID;channelID;…;error message] - Callbacks: <Callback Name> - Handlers: <Handler Type> - Others: ______

Description

The use of the command is prohibited on channels whose ID is entered. If used, the entered error message is sent.

bot.command({
name:"hello",
code:`helloooo!
$ignoreChannels[798055313907253279;I was banned from saying hello to you on this channel :(]`
})

There is an example in bdfd.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
dutchman-devcommented, May 2, 2021

Channels are global objects so there is no guildID field needed.

1reaction
falsisdevcommented, May 2, 2021

Type

  • Functions: \ $ignoreChannels[channelID;channelID;channelID;…;error message] - Callbacks: <Callback Name> - Handlers: <Handler Type> - Others: ______

Description

The use of the command is prohibited on channels whose ID is entered. If used, the entered error message is sent.

bot.command({
name:"hello",
code:`helloooo!
$ignoreChannels[798055313907253279;I was banned from saying hello to you on this channel :(]`
})

There is an example in bdfd.

ngl I like your idea but it’s already possible

you can just add $onlyIf[$checkContains[$channelID;channelid1;channelid2;....]==false; This Channel Is Blacklisted]

This Works Like $ignoreChannels so Ig There is no need

Oky I will try, thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Block YouTube Channels From Appearing in Your Feed
Some YouTube channels simply don't deserve your attention. If you dislike a YouTube channel, here's how to block it so you don't see...
Read more >
How to ignore other channels? - python - Stack Overflow
I want to fetch messages from specific channels and sometimes it fetches other channels, I am basically prioritize that it only chooses this ......
Read more >
Mute channels and direct messages - Slack
Mute channels and direct messages ; Open the channel you'd like to mute. Click the channel name in the conversation header. Below the...
Read more >
How to disable discord bots in specific channels. - gists · GitHub
1. Open the channel settings · 2. Head to the permissions tab · 3. Add permission settings for bot roles · 4. Select...
Read more >
Manager Command - ?ignorechannel - the Dyno Docs!
This command toggles whether the channel is ignored or not, which means it will ignore the channel if the channel is not currently...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found