Maplestory
MapleDropSearchView
Bases: View
楓之谷掉落物品搜尋的互動式介面
Methods:
Name | Description |
---|---|
select_result |
|
create_monster_embed |
創建怪物資訊的 Embed |
create_item_source_embed |
創建物品掉落來源的 Embed |
Source code in src/cogs/maplestory.py
select_result
Source code in src/cogs/maplestory.py
create_monster_embed
創建怪物資訊的 Embed
Source code in src/cogs/maplestory.py
create_item_source_embed
創建物品掉落來源的 Embed
Source code in src/cogs/maplestory.py
MapleStoryCogs
Bases: Cog
楓之谷相關功能
Methods:
Name | Description |
---|---|
search_monsters_by_name |
根據名稱搜尋怪物 |
search_items_by_name |
根據名稱搜尋物品 |
get_monsters_by_item |
取得掉落特定物品的怪物列表 |
maple_monster |
搜尋怪物掉落資訊 |
maple_item |
搜尋物品掉落來源 |
maple_stats |
顯示資料庫統計資訊 |
Source code in src/cogs/maplestory.py
search_monsters_by_name
根據名稱搜尋怪物
Source code in src/cogs/maplestory.py
search_items_by_name
根據名稱搜尋物品
Source code in src/cogs/maplestory.py
get_monsters_by_item
取得掉落特定物品的怪物列表
Source code in src/cogs/maplestory.py
maple_monster
maple_monster(
interaction: Interaction,
monster_name: str = nextcord.SlashOption(
name="monster_name",
description="Name of the monster to search",
name_localizations={
Locale.zh_TW: "怪物名稱",
Locale.zh_CN: "怪物名稱",
Locale.ja: "モンスター名",
},
description_localizations={
Locale.zh_TW: "要搜尋的怪物名稱",
Locale.zh_CN: "要搜尋的怪物名稱",
Locale.ja: "検索するモンスターの名前",
},
required=True,
),
) -> None
搜尋怪物掉落資訊
Source code in src/cogs/maplestory.py
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
|
maple_item
maple_item(
interaction: Interaction,
item_name: str = nextcord.SlashOption(
name="item_name",
description="Name of the item to search",
name_localizations={
Locale.zh_TW: "物品名稱",
Locale.zh_CN: "物品名稱",
Locale.ja: "アイテム名",
},
description_localizations={
Locale.zh_TW: "要搜尋的物品名稱",
Locale.zh_CN: "要搜尋的物品名稱",
Locale.ja: "検索するアイテムの名前",
},
required=True,
),
) -> None
搜尋物品掉落來源
Source code in src/cogs/maplestory.py
330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 |
|
maple_stats
顯示資料庫統計資訊