'weer' is niet meer hidden + readme update

This commit is contained in:
JP
2018-02-04 21:25:09 +01:00
parent f56205cb3a
commit 8018f6ffc2
2 changed files with 13 additions and 2 deletions
+11
View File
@@ -10,3 +10,14 @@ Stroopwafel is een python bot voor discord. Voornamelijk geschikt voor shitposti
* Vragen en/of opmerkingen kunnen in onderstaande suggestiebox: * Vragen en/of opmerkingen kunnen in onderstaande suggestiebox:
* ![Suggestiedoos](https://images-na.ssl-images-amazon.com/images/I/51AgTrLu3TL._SY355_.jpg) * ![Suggestiedoos](https://images-na.ssl-images-amazon.com/images/I/51AgTrLu3TL._SY355_.jpg)
## Zelf deze bot runnen?
Deze link legt uit hoe je een bot token maakt:
[https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token)
En als je discordpy via pip binnenhaalt krijgt je niet de juiste versie. Je moet zelf de "rewrite" branch downloaden. Linkje:
[https://github.com/Rapptz/discord.py/tree/rewrite](https://github.com/Rapptz/discord.py/tree/rewrite)
Verder zoek je het maar lekker zelf uit.
+1 -1
View File
@@ -136,7 +136,7 @@ class Shitpost(object):
#Used by function weer() #Used by function weer()
@commands.command(pass_context=True, hidden=True) @commands.command(pass_context=True)
@asyncio.coroutine @asyncio.coroutine
def weer(self, ctx, location="Leiden"): def weer(self, ctx, location="Leiden"):
"""Vertelt je het weer. """Vertelt je het weer.