Browse Source

Add a new warning message informing the users the existence of CommandService

pull/826/head
Hsu Still 8 years ago
parent
commit
b68528b802
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      docs/guides/getting_started/intro.md

+ 6
- 0
docs/guides/getting_started/intro.md View File

@@ -167,6 +167,11 @@ for how to fix this.


### Handling a 'ping' ### Handling a 'ping'


>[!WARNING]
Please note that this is *not* a proper way to create a command.
Use the `CommandService` provided by the library instead, as explained
in the [Command Guide] section.

Now that we have learned how to open a connection to Discord, we can Now that we have learned how to open a connection to Discord, we can
begin handling messages that users are sending. begin handling messages that users are sending.


@@ -211,6 +216,7 @@ For your reference, you may view the [completed program].
[SocketMessage]: xref:Discord.WebSocket.SocketMessage [SocketMessage]: xref:Discord.WebSocket.SocketMessage
[SocketMessageChannel]: xref:Discord.WebSocket.ISocketMessageChannel [SocketMessageChannel]: xref:Discord.WebSocket.ISocketMessageChannel
[completed program]: samples/intro/complete.cs [completed program]: samples/intro/complete.cs
[Command Guide]: ../commands/commands.md


# Building a bot with commands # Building a bot with commands




Loading…
Cancel
Save