Browse Source

Fix minor markdown issues

pull/988/head
Hsu Still 7 years ago
parent
commit
243e819b86
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
4 changed files with 9 additions and 7 deletions
  1. +3
    -1
      docs/faq/misc/Legacy.md
  2. +2
    -2
      docs/guides/concepts/events.md
  3. +1
    -1
      docs/guides/concepts/logging.md
  4. +3
    -3
      docs/guides/getting_started/installing.md

+ 3
- 1
docs/faq/misc/Legacy.md View File

@@ -5,7 +5,8 @@ title: Questions about Legacy Versions


# Legacy Questions # Legacy Questions


## X, Y, Z does not work! It doesn't return a valid value anymore.
## X, Y, Z does not work! It doesn't return a valid value anymore

If you're currently using an older version in stable branch, please If you're currently using an older version in stable branch, please
upgrade to the latest pre-release version to ensure maximum upgrade to the latest pre-release version to ensure maximum
compatibility. Several features may be broken in older compatibility. Several features may be broken in older
@@ -17,6 +18,7 @@ Visit the repo's [release tag] to see the latest public pre-release.
[release tag]: https://github.com/RogueException/Discord.Net/releases [release tag]: https://github.com/RogueException/Discord.Net/releases


## I came from an earlier version of Discord.NET 1.0, and DependencyMap doesn't seem to exist anymore in the later revision? What happened to it? ## I came from an earlier version of Discord.NET 1.0, and DependencyMap doesn't seem to exist anymore in the later revision? What happened to it?

The `DependencyMap` has been replaced with Microsoft's The `DependencyMap` has been replaced with Microsoft's
[DependencyInjection] Abstractions. An example usage can be seen [DependencyInjection] Abstractions. An example usage can be seen
[here](https://github.com/foxbot/DiscordBotBase/blob/csharp/src/DiscordBot/Program.cs#L36). [here](https://github.com/foxbot/DiscordBotBase/blob/csharp/src/DiscordBot/Program.cs#L36).


+ 2
- 2
docs/guides/concepts/events.md View File

@@ -7,8 +7,8 @@ title: Working with Events


Events in Discord.Net are consumed in a similar manner to the standard Events in Discord.Net are consumed in a similar manner to the standard
convention, with the exception that every event must be of the type convention, with the exception that every event must be of the type
`System.Threading.Tasks.Task` and instead of using `EventArgs`, the
event's parameters are passed directly into the handler.
@System.Threading.Tasks.Task and instead of using @System.EventArgs,
the event's parameters are passed directly into the handler.


This allows for events to be handled in an async context directly This allows for events to be handled in an async context directly
instead of relying on `async void`. instead of relying on `async void`.


+ 1
- 1
docs/guides/concepts/logging.md View File

@@ -33,7 +33,7 @@ to a logging function to write their own messages.


## Usage in Commands ## Usage in Commands


Discord.Net's [CommandService] also provides a @Discord.Commands.CommandService.Log
Discord.Net's [CommandService] also provides a @Discord.Commands.CommandService.Log
event, identical in signature to other log events. event, identical in signature to other log events.


Data logged through this event is typically coupled with a Data logged through this event is typically coupled with a


+ 3
- 3
docs/guides/getting_started/installing.md View File

@@ -65,7 +65,7 @@ Not sure how to add a direct feed? See how [with Visual Studio] or


1. Create a new solution for your bot. 1. Create a new solution for your bot.
2. Open the NuGet window (Tools > NuGet > Manage NuGet packages for 2. Open the NuGet window (Tools > NuGet > Manage NuGet packages for
Solution).
Solution).
![Step 2](images/install-rider-nuget-manager.png) ![Step 2](images/install-rider-nuget-manager.png)
3. In the "Packages" tab, search for `Discord.Net`. 3. In the "Packages" tab, search for `Discord.Net`.
![Step 3](images/install-rider-search.png) ![Step 3](images/install-rider-search.png)
@@ -102,7 +102,7 @@ Solution).


In order to compile Discord.Net, you require the following: In order to compile Discord.Net, you require the following:


### Using Visual Studio
## Using Visual Studio


- [Visual Studio 2017](https://www.visualstudio.com/) - [Visual Studio 2017](https://www.visualstudio.com/)
- [.NET Core SDK] - [.NET Core SDK]
@@ -110,7 +110,7 @@ In order to compile Discord.Net, you require the following:
The .NET Core and Docker (Preview) workload is required during Visual The .NET Core and Docker (Preview) workload is required during Visual
Studio installation. Studio installation.


### Using Command Line
## Using Command Line


- [.NET Core SDK] - [.NET Core SDK]




Loading…
Cancel
Save