例如,每当用户使用!notification
命令时,应在控制台中打印服务器的通知设置是否设置为"all messages"
或"only @mentions"
.
这是我想用它做什么的 idea .
@bot.command()
async def notification():
notificationsettings = #notification settings here
if notificationsettings == "only @mentions":
print("You'll only get mention notifications")
else:
print("You'll get every message notifications")