8000 GitHub - yhay81/mmokun: Massively Multiplayer Online Role-Playing Game Discord bot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yhay81/mmokun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMOくん

起動方法:

以下のようなsetting.jsonを作成してください。

{
 "token": "YOUR BOT TOKEN"
}

必要なパッケージをインストールしてください。

pip install -r requirements.txt

データベースを作成してください。

$ sqlite3 mmo.db 
           
sqlite> CREATE TABLE player(user_id INTEGER, experience INTEGER);
sqlite> CREATE TABLE channel_status(channel_id INTEGER, boss_level INTEGER, boss_hp INTEGER);
sqlite> CREATE TABLE in_battle(channel_id INTEGER, user_id INTEGER, player_hp INTEGER);
sqlite> CREATE TABLE training(user_id INTEGER, training_question INTEGER);
sqlite> CREATE TABLE channel_in_transaction(channel_id INTEGER);
sqlite> CREATE TABLE item(user_id INTEGER, item_id INTEGER, count INTEGER);

起動します。

python mmo.py

About

Massively Multiplayer Online Role-Playing Game Discord bot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0