Skip to content

Instantly share code, notes, and snippets.

@mellowagain
Last active February 9, 2021 05:49
Show Gist options
  • Select an option

  • Save mellowagain/d6eaee8340f28d4cdd59b09c1c03f409 to your computer and use it in GitHub Desktop.

Select an option

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))
@Vaultrex
Copy link

Vaultrex commented Feb 9, 2021

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