๐ญ ์๋ ์ญํ ์์คํ
์ค๋ช
ํ์ผ: auto-rรดle.py (๋ด๋ถ ์ด๋ฆ: AutoRoleSystem)
Embed ํจ๋๊ณผ ์ ํ ๋ฉ๋ด๋ฅผ ์ฌ์ฉํ ๊ณ ๊ธ ์์ฒด ํ ๋น ์ญํ ์์คํ ์ ๋๋ค.
์ฒ ํโ
์๋ ๋ฐฉ์
- ์ฆ์ ์๋: ๋๋กญ๋ค์ด์์ ์ ํํ๋ฉด ๋ฐ๋ก ์ญํ ์ด ์ถ๊ฐ๋ฉ๋๋ค.
- ์ค๋งํธ ์ ๊ฑฐ: ์ฌ์ฉ์๊ฐ ์ด๋ฏธ ๊ฐ์ง ์ญํ ์ ์ ํํ๋ฉด, ๋ด์ด ์ด๋ฅผ ์ ๊ฑฐ ์์ฒญ์ผ๋ก ํด์ํ๊ณ ํ์ธ์ ์์ฒญํฉ๋๋ค.
- ์ง์์ฑ: ํจ๋๊ณผ ์ ํ๊ธฐ๋ SQLite์ ์ ์ฅ๋๋ฉฐ ๋ด ์ฌ์์ ํ์๋ ์ ์ง๋ฉ๋๋ค.
๋ช ๋ น์ดโ
ํจ๋ ๊ด๋ฆฌโ
| ๋ช ๋ น์ด | ์ค๋ช |
|---|---|
/autorole panel_create | ์ Embed๋ฅผ ๋์์ธํ๋ ๋ง๋ฒ์ฌ(๋ชจ๋ฌ) ์์. |
/autorole panel_update | ๊ธฐ์กด ํจ๋์ ๋ชจ์ ํธ์ง. |
/autorole panel_send | ํน์ ํจ๋์ ์ฑ๋์ ์ ์ก. |
/autorole panel_list | ์์ฑ๋ ๋ชจ๋ ํจ๋ ๋ชฉ๋ก. |
์ ํ๊ธฐ ๊ตฌ์ฑโ
| ๋ช ๋ น์ด | ์ค๋ช |
|---|---|
/autorole selector_add | ํจ๋์ ๋๋กญ๋ค์ด ๋ฉ๋ด ์ฒจ๋ถ. |
/autorole selector_remove | ๋๋กญ๋ค์ด ์ ๊ฑฐ. |
/autorole option_add | ์ ํ๊ธฐ์ ์ญํ ์ ํ ์ถ๊ฐ. |
/autorole option_remove | ์ญํ ์ ํ ์ ๊ฑฐ. |
๋๋ฒ๊ทธโ
| ๋ช ๋ น์ด | ์ค๋ช |
|---|---|
/autorole debug_panel | ํจ๋์ ์์ ๊ตฌ์ฑ ๋ณด๊ธฐ. |
/autorole option_list | ์ ํ๊ธฐ์ ๋ชจ๋ ์ต์ ๋ณด๊ธฐ. |