From bb9b46b9c959b941d77f9f9c0fe9fc594ff4731b Mon Sep 17 00:00:00 2001 From: Martin Wurm Date: Tue, 2 Jan 2018 17:53:19 +0100 Subject: [PATCH 1/4] Add necessary permissions to the invite link. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 685d5eb..5fd47e3 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ installation. You also need a Discord bot user and its API token If you have all that, just clone this repository. Then you’re ready to go! Insert your bot’s client ID into this URL: - https://discordapp.com/oauth2/authorize?client_id=YOUR_ID_HERE&scope=bot + https://discordapp.com/oauth2/authorize?client_id=YOUR_ID_HERE&scope=bot&permissions=8192 Open it, choose the server you want to add your bot to and click on “Authorize”. Then the only thing left to do is to fire up `parrotbot.py` and quote away! From 61db4061336be1c8d0fbb1a6c810524255bc9747 Mon Sep 17 00:00:00 2001 From: Martin Wurm Date: Tue, 2 Jan 2018 18:31:13 +0100 Subject: [PATCH 2/4] Add reference to the bot Discord bot sites that the bot is listed on. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5fd47e3..9a74250 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # ParrotBot -[![Discord Bots](https://discordbots.org/api/widget/status/363007359204982786.png)](https://discordbots.org/bot/363007359204982786?utm_source=widget) +[![Discord Bots](https://discordbots.org/api/widget/status/363007359204982786.png)](https://discordbots.org/bot/parrotbot) ParrotBot is a simple Discord bot solving a simple Discord problem: That it doesn’t support quotation. @@ -36,7 +36,14 @@ if you need any help. ¹ To reduce server load, the number of messages searched is limited. ## Installation -To run ParrotBot on your machine, you need Python 3.5 or higher and +You don’t have to host ParrotBot yourself. There is a public instance of it +being hosted for you – just click [here](https://discordbots.org/bot/parrotbot) +or on the widget below and select “Invite.” You can also find the bot on +[bots.discord.pw](https://bots.discord.pw/bots/363007359204982786). + +[![Discord Bots](https://discordbots.org/api/widget/363007359204982786.svg)](https://discordbots.org/bot/parrotbot) + +To run ParrotBot on your own machine, you need Python 3.5 or higher and [discord.py](https://github.com/Rapptz/discord.py) v0.15.0 or higher. ParrotBot also uses the modules `asyncio`, `datetime`, `json`, `re`, and `urllib2`, but those should normally already be part of your Python From 8757c3f5533f1341860ef517e41e9bfa56be68b3 Mon Sep 17 00:00:00 2001 From: Martin Wurm Date: Tue, 2 Jan 2018 18:42:52 +0100 Subject: [PATCH 3/4] Adjust README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9a74250..c9d6ead 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # ParrotBot -[![Discord Bots](https://discordbots.org/api/widget/status/363007359204982786.png)](https://discordbots.org/bot/parrotbot) +[![Discord Bots](https://discordbots.org/api/widget/status/363007359204982786.svg?noavatar=true)](https://discordbots.org/bot/parrotbot) ParrotBot is a simple Discord bot solving a simple Discord problem: That it doesn’t support quotation. +[![Discord Bots](https://discordbots.org/api/widget/363007359204982786.svg)](https://discordbots.org/bot/parrotbot) + ## Usage With ParrotBot, you can easily quote other messages, as long as they are in the same channel and weren’t posted too long ago.¹ Just send a message containing @@ -38,11 +40,9 @@ if you need any help. ## Installation You don’t have to host ParrotBot yourself. There is a public instance of it being hosted for you – just click [here](https://discordbots.org/bot/parrotbot) -or on the widget below and select “Invite.” You can also find the bot on +and select “Invite”. You can also find the bot on [bots.discord.pw](https://bots.discord.pw/bots/363007359204982786). -[![Discord Bots](https://discordbots.org/api/widget/363007359204982786.svg)](https://discordbots.org/bot/parrotbot) - To run ParrotBot on your own machine, you need Python 3.5 or higher and [discord.py](https://github.com/Rapptz/discord.py) v0.15.0 or higher. ParrotBot also uses the modules `asyncio`, `datetime`, `json`, `re`, and From 06945fbd3907ab4b919816f67a5ce7941a79f6d3 Mon Sep 17 00:00:00 2001 From: Martin Wurm Date: Tue, 2 Jan 2018 18:44:53 +0100 Subject: [PATCH 4/4] Update copyright dates. --- README.md | 2 +- parrotbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c9d6ead..0eeae89 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Whatever you do: Please stay polite and friendly. We’re all doing this for fun :wink: ## License notice -Copyright (C) 2017 Martin W. +Copyright (C) 2018 Martin W. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/parrotbot.py b/parrotbot.py index 83d8e4b..382b5f6 100755 --- a/parrotbot.py +++ b/parrotbot.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # ParrotBot -- Discord bot for quoting messages. -# Copyright (C) 2017 Martin W. +# Copyright (C) 2018 Martin W. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by