initial commit

This commit is contained in:
crazywhalecc
2023-01-13 15:55:52 +08:00
commit baee59b025
11 changed files with 950 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace GocqAdapter;
use OneBot\Util\Singleton;
class GocqRetcodeConverter
{
use Singleton;
public function convertRetCode11To12(int $retcode): int
{
return $retcode !== 0 ? 10000 : 0;
}
}