diff --git a/konata.sh b/konata.sh
index 477e01d..6d9c279 100755
--- a/konata.sh
+++ b/konata.sh
@@ -79,23 +79,28 @@ debug(){
# Public commands
help(){
- sendmsg "Hiya! I'm ghnou's personal bot, Konata.
+ if [ $(jq -r '.message.chat.type' <<< $input) == "private" ]
+ then
+ sendmsg "Hiya! I'm ghnou's personal bot, Konata.
- Currently I have the following features:
- - /help - Show this help message.
- - /alive - Check whether I'm running.
- - /cv [country] - Check COVID-19 stats.
- - /id - Get the current chat's ID.
- - /ud [term] - Get a definition from Urban Dictionary.
- - /konata - Get one of my selfies :3
- - /konachan [query] - Get a picture from Konachan.
- - /4c [board] - Get a random image from 4chan.
- - /lfy [query] - Let me look that up for you...
- - /ip [address] - Get information for an IP address.
- - /wttr [city] - Get the weather for a city.
- - /repo - Get my source code.
+ Currently I have the following features:
+ - /help - Show this help message.
+ - /alive - Check whether I'm running.
+ - /cv [country] - Check COVID-19 stats.
+ - /id - Get the current chat's ID.
+ - /ud [term] - Get a definition from Urban Dictionary.
+ - /konata - Get one of my selfies :3
+ - /konachan [query] - Get a picture from Konachan.
+ - /4c [board] - Get a random image from 4chan.
+ - /lfy [query] - Let me look that up for you...
+ - /ip [address] - Get information for an IP address.
+ - /wttr [city] - Get the weather for a city.
+ - /repo - Get my source code.
- And a lot more to come!"
+ And a lot more to come!"
+ else
+ sendmsg "Please ask me in private!"
+ fi
}
alive(){