?help in a private message no longer gives "I send you some help in the DMs" message
parent
6505b4df3d
commit
a4a90ea626
|
@ -76,9 +76,10 @@ Then to find out more info about a location, use `?info`:
|
|||
```
|
||||
|
||||
|
||||
`?selling` can be used to find items for sale:
|
||||
`?selling` can be used to find items for sale. Tip is better search for a subset of the item name.
|
||||
ig for `enderchests` search `ender`:
|
||||
```
|
||||
?selling dirt
|
||||
?selling ender
|
||||
```
|
||||
|
||||
You can also search around a position for locations with `?find_around`:
|
||||
|
|
|
@ -78,7 +78,7 @@ class GeoffreyBot(commands.Bot):
|
|||
logger.info("User %s, used command %s%s with context: %s", ctx.message.author, ctx.command, subcommand,
|
||||
ctx.args)
|
||||
|
||||
if ctx.invoked_with.lower() == 'help':
|
||||
if ctx.invoked_with.lower() == 'help' and ctx.message.guild is not None:
|
||||
await ctx.send("{}, I sent you some help in the DMs.".format(ctx.message.author.mention))
|
||||
|
||||
async def on_command_error(self, ctx, error):
|
||||
|
|
Loading…
Reference in New Issue