mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2025-09-06 12:16:25 +00:00
✨v0.1.2
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
from .config import BGIMAGE_PATH
|
||||
import random
|
||||
from pathlib import Path
|
||||
def choose_random_bgimage():
|
||||
randomfile = random.choice(list(BGIMAGE_PATH.iterdir()))
|
||||
return str(randomfile)
|
Reference in New Issue
Block a user