Skip to content

Instantly share code, notes, and snippets.

Avatar
💙
Boop Beep

Myst(MysterialPy) EvieePy

💙
Boop Beep
View GitHub Profile
@EvieePy
EvieePy / MOL-v01
Last active Mar 30, 2020
Myst Open License - Version 0.1 (Modified MPL)
View MOL-v01
Myst Open License - Version 0.1
=====================================
1 - Definitions
--------------------------------------
1.1. "Contributor"
means each individual or legal entity that creates, contributes to
the creation of, or owns Covered Software.
@EvieePy
EvieePy / music.py
Last active May 3, 2021
Basic music with playlist support on Rewrite
View music.py
"""
Please understand Music bots are complex, and that even this basic example can be daunting to a beginner.
For this reason it's highly advised you familiarize yourself with discord.py, python and asyncio, BEFORE
you attempt to write a music bot.
This example makes use of: Python 3.6
For a more basic voice example please read:
https://github.com/Rapptz/discord.py/blob/rewrite/examples/basic_voice.py
@EvieePy
EvieePy / bot_example.py
Last active Jun 2, 2021
A Cogs Example for the rewrite version of - discord.py
View bot_example.py
import discord
from discord.ext import commands
import sys, traceback
"""This is a multi file example showcasing many features of the command extension and the use of cogs.
These are examples only and are not intended to be used as a fully functioning bot. Rather they should give you a basic
understanding and platform for creating your own bot.
These examples make use of Python 3.6.2 and the rewrite version on the lib.
@EvieePy
EvieePy / error_handler.py
Last active Jun 19, 2021
Simple Error Handling for ext.commands - discord.py
View error_handler.py
"""
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