Skip to content

Instantly share code, notes, and snippets.

View nxtlo's full-sized avatar
🏴‍☠️

fate nxtlo

🏴‍☠️
View GitHub Profile
@nxtlo
nxtlo / Checks.py
Created September 21, 2020 01:00 — forked from Painezor/Checks.py
Built-in Checks for the commands extension of discord py
@commands.guild_only()
# Command cannot be used in private messages.
@commands.is_owner()
# Command can only be used by the bot owner.
@commands.is_nsfw()
# Command can only be used in NSFW channels
@commands.has_role("name")
@nxtlo
nxtlo / helpcommand.py
Last active November 2, 2020 03:33 — forked from That-Kidd/helpcommand.py
A kinda advanced custom "help" command for your Discord.py Rewrite bots!
"""This custom help command is a perfect replacement for the default one on any Discord Bot written in Discord.py Rewrite!
However, you must put "bot.remove_command('help')" in your bot, and the command must be in a cog for it to work.
Written by Jared Newsom (AKA Jared M.F.)!"""
@commands.command()
@commands.has_permissions(add_reactions=True,embed_links=True)
async def help(self,ctx,*cog):
"""Gets all cogs and commands of mine."""
try: