Skip to content

Instantly share code, notes, and snippets.

View Lapis0875's full-sized avatar
πŸ‘¨β€πŸ’»
Learning things are fun πŸ˜ƒ

Minjun Kim (Lapis0875) Lapis0875

πŸ‘¨β€πŸ’»
Learning things are fun πŸ˜ƒ
View GitHub Profile
@minibox24
minibox24 / bot.py
Created April 10, 2021 14:04
discord.py activities invite generator
import discord
from discord.ext import commands
from discord.http import Route
bot = commands.Bot(command_prefix='!')
@bot.command('youtube')
async def youtube(ctx):
voice = ctx.author.voice
@simmsb
simmsb / eval.py
Last active January 30, 2024 05:39
A good eval for discord.py
import ast
import discord
from discord.ext import commands
def insert_returns(body):
# insert return stmt if the last expression is a expression statement
if isinstance(body[-1], ast.Expr):
body[-1] = ast.Return(body[-1].value)
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active July 30, 2025 06:24
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

####### License: MIT
"""MIT License
Copyright (c) 2015 Aaron Hall
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is