Last active
February 9, 2021 05:49
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
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.
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
Any Cog to delete channels and Ban?