Skip to content

Instantly share code, notes, and snippets.

Last active August 28, 2021 08:38
Show Gist options
  • Save Galaxy-Coding/3c490900cfbe625dff6fbe522abbc303 to your computer and use it in GitHub Desktop.
Save Galaxy-Coding/3c490900cfbe625dff6fbe522abbc303 to your computer and use it in GitHub Desktop.
Rickroll Prevention


Made by galaxy#4815

This bot will instantly remove all rickrolls. Sounds simple, right? Are you worried that the bot will be bypassed? That isn't a problem as well. The bot supports redirects and over 50 links! Watch the bot demo

How it works

When you send a rickroll, the bot automatically checks all links. Every link is checked if it redirects to a rickroll. If it redirects to a rickroll, the message will be deleted. Then, the person who sent the rickroll will receive a DM from the bot, including when and where the rickroll was recieved. The bot can't moderate rickrolls in channels that it doesn't have permissions to delete messages in. Therefore, if you don't want the bot to delete messages in rules, just deny the bot's pemission to manage messages in that channel. The bot will also log the attempted rickroll in a log channel. See below for more info.


Make a channel called rick-logs. If you name that channel anything else, the bot won’t log messages there, so be careful. Makes sure the bot has permissions to talk in that channel. You can also rename an old channel to rick-logs.


  • x!help

Displays help and a list of commands. What you are looking at right now.

  • x!support

Sends a link to the support server.

  • x!log

This will explain how to log rickrolls.

  • x!invite

If you can't find an invite to the bot, us this command.

  • x!info

Shows all bot info.

Support Server

Join here

We have a support channel, suggestions, bug reports, etc to assist you if you need help with the bot. We even have a general channel to socialize with other members! If you notice that a rickroll is not caught by the bot, you can report it here as well.

Privacy Policy

The bot does not store any data but uses Statcord for analytics.

Copy link

can you add the rick roll no ads to the blacklist?

Copy link

Sorry for the late reply.

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment