Git Product home page Git Product logo

scripting-docs's People

Contributors

cube135 avatar dependabot[bot] avatar filtik avatar flyth avatar irgendwr avatar multivit4min avatar mxschmitt avatar rlnt avatar smorrebrod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

scripting-docs's Issues

Add missing documentation

  • success returns for chat functions (#108 in internal tracker)
  • BytesWriter
  • FileMode (or it's replacement => mode bits as number)

Typescript Typings Generation

It should be possible to generate the .ts files from the JSDoc file to get intellisense in VS Code for example.
There is a tools called tsd-jsdoc which generates such a .d.ts file.
But strangely the require('...') stuff is not working, even though I've added the generated file to the tsconfig.js with the // @ts-check at the file header.

  • Build the d.ts file (located at the GitHub page)
  • let it work in VS Code
  • improve user experience

Add backend.extended()

See #113 in internal tracker.

Copy from comments:

Discord:

backend.extended().getGuild(guildId) => guild object
backend.extended().modifyGuild(guildId, guildObject) => guildObject

TS3:

backend.extended().getServerInfo() => server object (native) -- .asObject() => server object
backend.extended().requestExtendedServerInfo() => bool
  triggers serverinfo_int event with extended server info object

All functions starting with lowercase characters.

Teamspeak

ServerInfo:

Name() string
UID() string
WelcomeMessage() string
Platform() string
Version() int64
HostMessage() string
HostBannerURL() string
HostBannerGFXURL() string
HostButtonTooltip() string
HostButtonURL() string
HostButtonGFXURL() string
NamePhonetic() string
ServerID() int64
IconID() int64
ReservedSlots() int64
HostBannerGFXInterval() int64
DefaultServerGorup() int64
DefaultChannelGroup() int64
DefaultChannelAdminGroup() int64
CodecEncryptionMode() int64
Created() int64
AsObject() object

ExtendedServerInfo:

MaxClients() int64
ClientsOnline() int64
ChannelsOnline() int64
Uptime() int64
ComplainAutobanCount() int64
ComplainAutobanTime() int64
ComplainRemoveTime() int64
MinClientsInChannelBeforeForcedSilence() int64
AntifloodPointsTickReduce() int64
AntifloodPointsNeededCommandBlock() int64
AntifloodPointsNeededIPBlock() int64
ClientConnections() int64
QueryClientConnections() int64
QueryClientsOnline() int64
Port() int64
Autostart() int64
MachineID() string
NeededIdentitySecurityLevel() int64
LogClient() int64
LogQuery() int64
LogChannel() int64
LogPermissions() int64
LogServer() int64
LogFiletransfer() int64
MinClientVersion() int64
MaxDownloadTotalBandwidth() int64
MaxUploadTotalBandwidth() int64
DownloadQuota() int64
UploadQuota() int64
MonthBytesDownloaded() int64
MonthBytesUploaded() int64
TotalBytesDownloaded() int64
TotalBytesUploaded() int64
AsObject() object

Discord

still incomplete

callback => (err, object)

SetStatus(statusObject object) bool  // see https://discordapp.com/developers/docs/topics/gateway#update-status
GetChannel(channelID string, cb callback) bool
ModifyChannel(channelID string, data object, cb callback) bool
DeleteChannel(channelID string, cb callback) bool
GetChannelMessages(channelID string, cb callback) bool
GetChannelMessage(channelID string, messageID string, cb callback) bool
CreateMessage(channelID string, data object, cb callback) bool
GetGuild(guildID string, cb callback) bool
ModifyGuild(guildID string, data object, cb callback) bool

TypeScript question

Hey, I have a simple question.

I wanna to write plugins in typescript instead of javascript and the types here are available for typescript, but how must I complie the source, to work with sinusbot? Currently I complied it into a bundle file.

I hope you can help me.

Kind regards,
XeroxDev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.