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 mouse | |
import keyboard | |
import cv2 | |
import numpy as np | |
import urllib.request | |
import pyautogui | |
import time | |
from matplotlib import pyplot as plt | |
from matplotlib.patches import Circle | |
import gc |
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
""" | |
If you are not using this inside a cog, add the event decorator e.g: | |
@bot.event | |
async def on_command_error(ctx, error) | |
For examples of cogs see: | |
https://gist.github.com/EvieePy/d78c061a4798ae81be9825468fe146be | |
For a list of exceptions: | |
https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#exceptions |
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
try: | |
import pyaudio | |
import numpy as np | |
import pylab | |
import matplotlib.pyplot as plt | |
from scipy.io import wavfile | |
import time | |
import sys | |
import seaborn as sns | |
except: |
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
git push origin :refs/tags/<tagname> // Delete tag from remote | |
git tag -fa <tagname> // Reset tag to current commit | |
git push origin master --tags // Push tag to remote |