19 lines
556 B
Python
19 lines
556 B
Python
import os
|
|
|
|
from ncatbot.plugin import BasePlugin, CompatibleEnrollment
|
|
from ncatbot.core import GroupMessage, PrivateMessage, BaseMessage
|
|
from ncatbot.utils import get_log
|
|
|
|
bot = CompatibleEnrollment # 兼容回调函数注册器
|
|
_log = get_log()
|
|
|
|
class Memigo(BasePlugin):
|
|
name = "Memigo" # 插件名称
|
|
version = "0.0.1" # 插件版本
|
|
author = "pythagodzilla" # 插件作者
|
|
info = "你的meme分类好伙伴" # 插件描述
|
|
|
|
@bot.startup_event()
|
|
async def startup(self):
|
|
_log.info("Plugin Memigo has started up! ")
|