Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cogs
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Monitor
Incidents
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
smither
cogs
Merge requests
!58
auto_update - Add auto_update cog
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
auto_update - Add auto_update cog
auto_update
into
master
Overview
0
Commits
10
Pipelines
7
Changes
4
Merged
Callum Smith
requested to merge
auto_update
into
master
1 year ago
Overview
0
Commits
10
Pipelines
7
Changes
4
Expand
0
0
Merge request reports
Compare
master
version 6
3158201e
1 year ago
version 5
c20bef89
1 year ago
version 4
81e59e9f
1 year ago
version 3
778de364
1 year ago
version 2
952e0706
1 year ago
version 1
a8e2ef37
1 year ago
master (base)
and
latest version
latest version
5955b489
10 commits,
1 year ago
version 6
3158201e
9 commits,
1 year ago
version 5
c20bef89
7 commits,
1 year ago
version 4
81e59e9f
6 commits,
1 year ago
version 3
778de364
2 commits,
1 year ago
version 2
952e0706
2 commits,
1 year ago
version 1
a8e2ef37
1 commit,
1 year ago
4 files
+
215
−
2
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
auto_update/__init__.py
0 → 100644
+
14
−
0
Options
"""
auto_update cog allows discord bot automatically update cogs
when receiving either webhookmessages or on polling intervals
"""
from
redbot.core.bot
import
Red
from
.auto_update
import
AutoUpdate
async
def
setup
(
bot
:
Red
):
"""
Setup the auto_update cog
"""
await
bot
.
add_cog
(
AutoUpdate
(
bot
))