Skip to content

Instantly share code, notes, and snippets.

@mellowagain
Last active February 9, 2021 05:49
Show Gist options
  • Save mellowagain/d6eaee8340f28d4cdd59b09c1c03f409 to your computer and use it in GitHub Desktop.
Save mellowagain/d6eaee8340f28d4cdd59b09c1c03f409 to your computer and use it in GitHub Desktop.
COG for mentioning everyone without using @everyone. Use as COG for Discord-Selfbot. Inspired by Rud.
import discord
from discord.ext import commands
# Mentions everyone without using everyone. Made by Marc3842h. Inspired by Rud.
class MentionBomb:
def __init__(self, bot):
self.bot = bot
@commands.command(pass_context=True)
async def mbomb(self, ctx):
await ctx.message.delete()
messages = []
msg = ""
for member in ctx.message.channel.members:
if len(msg) >= 1980:
messages.append(msg)
msg = ""
msg += member.mention + "\n"
if len(msg) >= 1:
messages.append(msg)
for message in messages:
await ctx.send(message)
def setup(bot):
bot.add_cog(MentionBomb(bot))
@iMurk
Copy link

iMurk commented Aug 3, 2019

Any Cog to delete channels and Ban?

@i0Z3R0
Copy link

i0Z3R0 commented Dec 17, 2020

Is there a way to use this as a Selfbot without having Discord-Selfbot as a dependency? I can't install Discord-Selfbot, it'd be nice to run this individually.

@Polymecha
Copy link

It just pings myself, and not others

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