Skip to content

Instantly share code, notes, and snippets.

View thisisshubhamkumar's full-sized avatar
:electron:
Crafting ideas into reality

Shubh thisisshubhamkumar

:electron:
Crafting ideas into reality
View GitHub Profile
@thisisshubhamkumar
thisisshubhamkumar / quotes.csv
Created December 22, 2024 07:34 — forked from JakubPetriska/quotes.csv
Motivational quotes
Author Quote
Thomas Edison Genius is one percent inspiration and ninety-nine percent perspiration.
Yogi Berra You can observe a lot just by watching.
Abraham Lincoln A house divided against itself cannot stand.
Johann Wolfgang von Goethe Difficulties increase the nearer we get to the goal.
Byron Pulsifer Fate is in your hands and no one elses
Lao Tzu Be the chief but never the lord.
Carl Sandburg Nothing happens unless first we dream.
Aristotle Well begun is half done.
Yogi Berra Life is a learning experience, only if you learn.
@thisisshubhamkumar
thisisshubhamkumar / extension_no_group.py
Created July 30, 2022 17:45 — forked from AbstractUmbra/00-deprecation.md
discord.py 2.0a slash command info and examples
import discord
from discord import app_commands
from discord.ext import commands
class MyCog(commands.Cog):
def __init__(self, bot: commands.Bot) -> None:
self.bot = bot
@app_commands.command(name="command-1")
async def my_command(self, interaction: discord.Interaction) -> None: