(choice)
| 332 | } |
| 333 | |
| 334 | async function enchantItem (choice) { |
| 335 | choice = parseInt(choice, 10) |
| 336 | try { |
| 337 | const item = await table.enchant(choice) |
| 338 | bot.chat(`enchanted ${itemToString(item)}`) |
| 339 | } catch (err) { |
| 340 | bot.chat('error enchanting') |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | async function takeEnchantedItem () { |
| 345 | try { |
no test coverage detected
searching dependent graphs…