index — Deutsche-Haus-Bot @ 26735a5efd113907ddd4467f56b8e3ea14109c28

Discord bot to dynamically create voice chats for clubs that boosters can create

varname deprecated
crispy-caesus 114518720+crispy-caesus@users.noreply.github.com
Sat, 22 Mar 2025 07:48:52 +0100
commit

26735a5efd113907ddd4467f56b8e3ea14109c28

parent

aef97abd4b43ec3b8096b1f6247a9bca5197ff5e

3 files changed, 7 insertions(+), 1 deletions(-)

jump to
M bot.pybot.py

@@ -1,7 +1,7 @@

import discord import discord.ext.commands import asyncio -from varname import nameof +from utils import nameof import emoji import sys
M requirements.txtrequirements.txt

@@ -1,3 +1,4 @@

aiosqlite>=0.20.0 discord.py>=2.4.0 emoji>=2.13.1 +varname>=0.14.0
A utils.py

@@ -0,0 +1,5 @@

+from varname import argname + + +def nameof(*args): + return argname('*args')