CharmCord
1.0.0
功能添加
$addButton$addDropdown$dropdownOption$setGlobalUserVar$getGloablUserVar$interactionReply弃用功能
$buttonSend$slashSend 通过PIP安装Charmcord:
pip install CharmCord简单的机器人示例:
from CharmCord import charmclient
bot = charmclient ( prefix = "!" , case_insensitive = False , intents = ( "all" ,))
bot . on_ready (
Code = "$console[Bot is Ready]"
)
bot . command (
name = "Ping" , # Command Name
code = """
$sendMessage[$channelID; Pong!! $ping]
""" # Command Code
)
bot . run ( "*******<<TOKEN>>***********" )欢迎和鼓励对Charmcord的贡献!如果您想做出贡献,请遵循以下准则:
愉快的编码!