MonoChatBot

command module
v0.0.0-...-b48bdc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: GPL-3.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

MonoChatBot

一个简单的连续性 Bot 对话实现,使用 CHATGPT, 运行于 Telegram~

SETTING

  • 在程序运行部分 新建 .env 环境文件

  • 添加 bot | gptkey 环境变量,bot是 Telegram BotFather 所拿到的token | gptkey 是指 CHATGPT API KEY

COMMAND

  • start (显示介绍页面)

  • chat (开始对话,可以发送任意文字,CHATGPT将进行回复)

  • stop (停止连续性对话,此时Bot将不会由CHATGPT回复,但是对话记忆仍保留2小时)

  • clean (清理对话 让我们重新开始吧~)

demo: @MonoChat_HiMoYoBOT

鸣谢

ReiBot

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
msg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址