Skip to content

Instantly share code, notes, and snippets.

@rmcg3
rmcg3 / token1.py
Created May 26, 2020 17:36
Update token1.py (discord.py version 0.16.12 to current version)
#imports
import discord
import asyncio
import youtube_dl
import os
from discord import VoiceClient
from main import chanid
#establish client
client1 = discord.Client()
@rmcg3
rmcg3 / ultimate-ut-cheat-sheet.md
Created May 3, 2020 15:48 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies