Skip to content

Instantly share code, notes, and snippets.

View Harukomaze's full-sized avatar
☄️
Whoosh

Harukomaze

☄️
Whoosh
  • Student
  • JFXGI2LB
View GitHub Profile
@Harukomaze
Harukomaze / interactive_calc.py
Last active July 10, 2022 10:10
Interactive calculator for python discord bot
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
@Harukomaze
Harukomaze / blacklist.py
Created July 2, 2021 08:14
An example of how to blacklist users in discord.py
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):
@Harukomaze
Harukomaze / token.txt
Created June 11, 2021 15:17
token, regen now lol
ODAxNTg4NDkyMDEzOTI4NDk4.YAi3dQ.eCSSVBLMrS-APn1FBmj2UsaLXJM