taslim19
commited on
Commit
·
2687e85
1
Parent(s):
8a2b961
Update waifu_name.py: use channel username for waifu database access
Browse files
DragMusic/plugins/management/waifu_name.py
CHANGED
@@ -2,7 +2,7 @@ from pyrogram import filters
|
|
2 |
from DragMusic import app
|
3 |
from DragMusic.core.userbot import Userbot
|
4 |
|
5 |
-
WAIFU_CHANNEL_ID =
|
6 |
|
7 |
async def get_waifu_name_by_file_id(file_id):
|
8 |
userbot = Userbot().one
|
|
|
2 |
from DragMusic import app
|
3 |
from DragMusic.core.userbot import Userbot
|
4 |
|
5 |
+
WAIFU_CHANNEL_ID = "Grabber_Database" # Use channel username instead of numeric ID
|
6 |
|
7 |
async def get_waifu_name_by_file_id(file_id):
|
8 |
userbot = Userbot().one
|