Skip to content

Instantly share code, notes, and snippets.

View EvieePy's full-sized avatar
💙
Boop Beep

Mysty EvieePy

💙
Boop Beep
  • Brisbane, Australia
View GitHub Profile
@EvieePy
EvieePy / MOL-v01
Last active March 30, 2020 05:10
Myst Open License - Version 0.1 (Modified MPL)
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 July 22, 2024 16:49
Basic music with playlist support on Rewrite
"""
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 July 22, 2024 16:51
A Cogs Example for the rewrite version of - discord.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 November 8, 2024 11:38
Simple Error Handling for ext.commands - discord.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