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.0 kB

1234567891011121314151617181920
  1. # Terminology
  2. ## Preface
  3. 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
  4. ## Introduction to Interfaces
  5. Discord.Net 1.0 is built strictly around Interfaces. There are no methods that return a concrete object, only an interface.
  6. Many of the interfaces in Discord.Net are linked through inheritance. For example, @Discord.IChannel represents any channel in Discord. @Discord.IGuildChannel inherits from IChannel, and represents all channels belonging to a Guild. As a result, @Discord.IChannel can sometimes be cast to @Discord.IGuildChannel, and you may find yourself doing this frequently in order to properly utilize the library.
  7. ### The Inheritance Tree
  8. You may want to familiarize yourself with the inheritance in Discord.Net. An inheritance tree is provided below.
  9. ![](https://i.lithi.io/kpgd.png)
  10. ![](https://i.lithi.io/kNrr.png)
  11. ![](https://i.lithi.io/gs8d.png)
  12. ![](https://i.lithi.io/LAJr.png)