To allow Gun Bot to read encrypted data, you would need access to the Gun Bot source code. Then it could be modified to read encrypted parts of the config file.
In terms of encryption, you could use a cipher and a technology like AES to encrypt the config string and then decrypt it on the bot.