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 kB

12345678910111213141516171819202122232425262728293031323334353637383940
  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
  8. difference is that the ``Server`` is now called ``Guild`` to stay in
  9. line with Discord internally.
  10. ## Implementation Specific Entities
  11. Discord.Net 1.0 is split into a core library and three different
  12. implementations - `Discord.Net.Core`, `Discord.Net.Rest`,
  13. `Discord.Net.Rpc`, and `Discord.Net.WebSockets`.
  14. As a bot developer, you will only need to use `Discord.Net.WebSockets`,
  15. but you should be aware of the differences between them.
  16. `Discord.Net.Core` provides a set of interfaces that models Discord's
  17. API. These interfaces are consistent throughout all implementations of
  18. Discord.Net, and if you are writing an implementation-agnostic library
  19. or addon, you can rely on the core interfaces to ensure that your
  20. addon will run on all platforms.
  21. `Discord.Net.Rest` provides a set of concrete classes to be used
  22. **strictly** with the REST portion of Discord's API. Entities in this
  23. implementation are prefixed with `Rest` (e.g. `RestChannel`).
  24. `Discord.Net.Rpc` provides a set of concrete classes that are used
  25. with Discord's RPC API. Entities in this implementation are prefixed
  26. with `Rpc` (e.g. `RpcChannel`).
  27. `Discord.Net.WebSocket` provides a set of concrete classes that are
  28. used primarily with Discord's WebSocket API or entities that are kept
  29. in cache. When developing bots, you will be using this implementation.
  30. All entities are prefixed with `Socket` (e.g. `SocketChannel`).