From b0355cd3320ccf8934a5095759d90ad02765bfab Mon Sep 17 00:00:00 2001
From: Uwe Pfeifer <freaky@bitsnbytes.chat>
Date: Thu, 26 May 2022 22:47:24 +0200
Subject: [PATCH] adding requirements.txt :)

---
 ext/test2.py     | 19 +++++++++++++++++++
 requirements.txt |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 ext/test2.py
 create mode 100644 requirements.txt

diff --git a/ext/test2.py b/ext/test2.py
new file mode 100644
index 0000000..2324a0b
--- /dev/null
+++ b/ext/test2.py
@@ -0,0 +1,19 @@
+# pybot-f 2nd test extension ... other type of commands (this time, nogroup commands)
+# this code has been copied from the docs/github
+
+import discord
+from discord import app_commands
+from discord.ext import commands
+
+class Test2Cog(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:
+    """ /command-1 """
+    await interaction.response.send_message("Hello from command 1!", ephemeral=True)
+
+
+async def setup(bot: commands.Bot) -> None:
+  await bot.add_cog(Test2Cog(bot))
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..94260ec
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+git+https://github.com/Rapptz/discord.py#egg=discord.py[voice]
\ No newline at end of file