improved a few help messages
parent
52bc832f13
commit
a7a017fdd4
|
@ -1 +1 @@
|
||||||
__version__ = '1.0.0'
|
__version__ = '1.0.1'
|
||||||
|
|
|
@ -37,6 +37,7 @@ class Delete_Commands:
|
||||||
"""
|
"""
|
||||||
Deletes an item listing from a shop inventory
|
Deletes an item listing from a shop inventory
|
||||||
|
|
||||||
|
The item name must be wrapped in quotes if it has a space in it
|
||||||
?delete_name [Item] [Shop Name]
|
?delete_name [Item] [Shop Name]
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ class Search_Commands:
|
||||||
result = self.bot.bot_commands.tunnel(player)
|
result = self.bot.bot_commands.tunnel(player)
|
||||||
|
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
'{}, **{}** owns the following tunnels: \n{}'.format(ctx.message.author.mention, player, result))
|
'{}, **{}** owns the following tunnel(s): \n{}'.format(ctx.message.author.mention, player, result))
|
||||||
except LocationLookUpError:
|
except LocationLookUpError:
|
||||||
await ctx.send('{}, no tunnels for **{}** were found in the database.'
|
await ctx.send('{}, no tunnels for **{}** were found in the database.'
|
||||||
.format(ctx.message.author.mention, player))
|
.format(ctx.message.author.mention, player))
|
||||||
|
@ -105,7 +105,7 @@ class Search_Commands:
|
||||||
try:
|
try:
|
||||||
result = self.bot.bot_commands.selling(item_name)
|
result = self.bot.bot_commands.selling(item_name)
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
'{}, the following shops sell **{}**: \n{}'.format(ctx.message.author.mention, item_name, result))
|
'{}, the following shop(s) sell **{}**: \n{}'.format(ctx.message.author.mention, item_name, result))
|
||||||
except ItemNotFound:
|
except ItemNotFound:
|
||||||
await ctx.send('{}, no shop sells **{}**.'.format(ctx.message.author.mention, item_name))
|
await ctx.send('{}, no shop sells **{}**.'.format(ctx.message.author.mention, item_name))
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ class Search_Commands:
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
loc_str = self.bot.bot_commands.me(discord_uuid=ctx.message.author.id)
|
loc_str = self.bot.bot_commands.me(discord_uuid=ctx.message.author.id)
|
||||||
await ctx.send('{}, here are your locations in the database: \n {}'.format(ctx.message.author.mention,
|
await ctx.send('{}, here are your location(s) in the database: \n {}'.format(ctx.message.author.mention,
|
||||||
loc_str))
|
loc_str))
|
||||||
except PlayerNotFound:
|
except PlayerNotFound:
|
||||||
await ctx.send('{}, you don\'t have any locations in the database.'.format(ctx.message.author.mention))
|
await ctx.send('{}, you don\'t have any locations in the database.'.format(ctx.message.author.mention))
|
||||||
|
|
Loading…
Reference in New Issue