Skip to content

Instantly share code, notes, and snippets.

View siqnole's full-sized avatar
:shipit:

William siqnole

:shipit:
View GitHub Profile
@siqnole
siqnole / bot.py
Created March 24, 2022 18:51
easy censorship bot
import discord
from discord.ext import commands
bot=commands.Bot(command_prefix="c!")
@bot.event
async def on_message(message):
swears = ["frick", "heck", "hecc", "fricc"]
if message.content in swears:
await message.delete()