This file contains hidden or 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
| from simpcalc import simpcalc # pip install simpcalci | |
| import discord # pip install discord.py | |
| # alternate for simpcalc package | |
| # import aiohttp | |
| # class BadArgument(Exception): | |
| # """This is raise when a bad/invalid argument is passed""" | |
| # pass |
This file contains hidden or 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
| from discord.ext.commands import CheckFailure | |
| """ | |
| Highly not recommended to declare a list for this, use a proper database instead. (This is only an example) | |
| """ | |
| blacklist = [#a list of blacklist users] | |
| class Blacklisted(CheckFailure): |
This file contains hidden or 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
| ODAxNTg4NDkyMDEzOTI4NDk4.YAi3dQ.eCSSVBLMrS-APn1FBmj2UsaLXJM |