You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

terminology.md 1.5 KiB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ---
  2. uid: Terminology
  3. title: Terminology
  4. ---
  5. # Terminology
  6. ## Preface
  7. Most terms for objects remain the same between 0.9 and 1.0. The major difference is that the ``Server`` is now called ``Guild``, to stay in line with Discord internally
  8. ## Implementation Specific Entities
  9. Discord.Net 1.0 is split into a core library, and three different
  10. implementations - Discord.Net.Core, Discord.Net.Rest, Discord.Net.Rpc,
  11. and Discord.Net.WebSockets.
  12. As a bot developer, you will only need to use Discord.Net.WebSockets,
  13. but you should be aware of the differences between them.
  14. `Discord.Net.Core` provides a set of interfaces that model Discord's
  15. API. These interfaces are consistent throughout all implementations of
  16. Discord.Net, and if you are writing an implementation-agnostic library
  17. or addon, you can rely on the core interfaces to ensure that your
  18. addon will run on all platforms.
  19. `Discord.Net.Rest` provides a set of concrete classes to be used
  20. **strictly** with the REST portion of Discord's API. Entities in
  21. this implementation are prefixed with `Rest`, e.g. `RestChannel`.
  22. `Discord.Net.Rpc` provides a set of concrete classes that are used with
  23. Discord's RPC API. Entities in this implementation are prefixed with
  24. `Rpc`, e.g. `RpcChannel`.
  25. `Discord.Net.WebSocket` provides a set of concrete classes that are used
  26. primarily with Discord's WebSocket API, or entities that are kept in
  27. cache. When developing bots, you will be using this implementation. All
  28. entities are prefixed with `Socket`, e.g. `SocketChannel`.