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
#include <MD_MAX72xx.h> | |
#include <MD_Parola.h> | |
// Parola display settings // | |
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW // type of device hardware https://majicdesigns.github.io/MD_MAX72XX/page_hardware.html | |
#define MAX_DEVICES 16 // number of device segments | |
// Display pinout // | |
#define DATA_PIN D7 | |
#define CS_PIN D6 | |
#define CLK_PIN D5 |
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
import discord | |
from discord.ext import commands | |
import asyncio | |
from async_timeout import timeout | |
from aioconsole import ainput | |
import db | |
import random |
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
import discord | |
from discord.ext import commands | |
class VoiceTest(commands.Cog, name='voicetest'): | |
"""Cog to play FFMpegPCMAudio Source""" | |
def __init__(self, bot): | |
self.bot = bot | |
@commands.command() | |
async def join(self, ctx, *, channel: discord.VoiceChannel=None): |