• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Feature get Instance Settings

Status
Not open for further replies.

Dampfklon

Donor
is awesome!
I would like to see the Instance Settings exposed to the scripting api.

eg. Default Channel, Nickname
 

kanalumaddela

Insider
Insider
This is already possible? The script "Remember Last Channel" which is included with the bot does what it says and changes the default channel when it is moved to another channel. The script !rename changes the bot nickname, so I don't see what you mean by having the instance settings "exposed".
 

Dampfklon

Donor
is awesome!
The script "Remember Last Channel" uses sinusbot.setDefaultChannel(channel) the function I Request is sinusbot.getDefaultChannel() as well as sinusbot.getDefaultUsername() and the other settings which you configure on the instance settings page http://example.cpm//settings/general
There are Scipts like BackToDefault which moves the bot to a default channel but you must configure this channel in the scripts settings bc. you cant get the settings from the bot.
 

kanalumaddela

Insider
Insider
The script "Remember Last Channel" uses sinusbot.setDefaultChannel(channel) the function I Request is sinusbot.getDefaultChannel() as well as sinusbot.getDefaultUsername() and the other settings which you configure on the instance settings page http://example.cpm//settings/general
There are Scipts like BackToDefault which moves the bot to a default channel but you must configure this channel in the scripts settings bc. you cant get the settings from the bot.
No why wasn't this your first post? Mhhmmm idk? It would've made more sense if you started with that instead, but now I can understand what you're saying.
 
Status
Not open for further replies.
Top